ExcelToShiny

ExcelToShiny: An R Package for Automating Shiny Dashboard Creation from Excel Templates - Published in JOSS (2025)

https://github.com/idemsinternational/exceltoshiny

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software
Last synced: 6 months ago · JSON representation

Repository

A system for creating Shiny dashboards using Excel spreadsheets

Basic Info
  • Host: GitHub
  • Owner: IDEMSInternational
  • License: lgpl-3.0
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 9.48 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 5
  • Open Issues: 3
  • Releases: 2
Created over 3 years ago · Last pushed 8 months ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# ExcelToShiny


[![R-CMD-check](https://github.com/IDEMSInternational/ExcelToShiny/workflows/R-CMD-check/badge.svg)](https://github.com/IDEMSInternational/ExcelToShiny/actions)
[![Codecov test coverage](https://codecov.io/gh/IDEMSInternational/ExcelToShiny/branch/main/graph/badge.svg)](https://app.codecov.io/gh/IDEMSInternational/ExcelToShiny?branch=main)
[![Lifecycle:
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![license](https://img.shields.io/badge/license-LGPL%20(%3E=%203)-lightgrey.svg)](https://www.gnu.org/licenses/lgpl-3.0.en.html)


A system for creating Shiny dashboards using Excel spreadsheets.

## Installation

You can install the development version of ExcelToShiny from [GitHub](https://github.com/) with:

```r
install.packages("devtools")
devtools::install_github("IDEMSInternational/ExcelToShiny")
```

## Overview

ExcelToShiny enables users to define Shiny dashboards using Excel spreadsheets. This approach makes it easy to specify dashboard components, including:

- **Main Page**: Global dashboard settings.
- **Contents Page**: Defines the structure of the Shiny app.
- **Display Pages**: Creates different visualization components.
- **Tabbed Pages**: Organises pages into tabbed layouts.
- **Download Pages**: Allows data downloads with optional access control.

## Example Usage

Below is an example of how to load an Excel file and use it to generate a Shiny dashboard:

```r
# Load libraries
library(ExcelToShiny)
library(dplyr)
library(rio)
library(NHANES)

# Load your data you want to run
data(NHANES)

# Run manipulations. Here's an example of where we use a second data frame in our Shiny Excel
NHANES_by_ind <- NHANES %>%
  dplyr::group_by(ID) %>%
  dplyr::mutate(count = 1:n()) %>%
  dplyr::filter(count == 1) %>%
  dplyr::ungroup()

# Set the key variable to be the same type
NHANES$ID <- as.character(NHANES$ID)
NHANES_by_ind$ID <- as.character(NHANES_by_ind$ID)

# Run any credentials data for downloading page
credentials_data <- data.frame(
  user = "admin",
  password = "password",
  stringsAsFactors = FALSE
)

# Call in the test data
path <- system.file("extdata", "example_data.xlsx", package = "ExcelToShiny")
all_sheets <- rio::import_list(path)

# Your shiny app
build_shiny(
  title = "Test Dashboard",
  data_list = all_sheets,
  data_frame = NHANES,
  key_var = "ID"
)
```

## Contributing, Reporting Issues, and Seeking Support
We welcome contributions from the community to enhance the `ExcelToShiny` package. If you would like to contribute, please follow these guidelines:

* Contribute to the software: If you wish to contribute new features, fix bugs, or improve the documentation, please fork the repository, create a new branch for your changes, and submit a pull request. Ensure that your code follows the existing style and include tests where applicable.

* Report issues or problems: If you encounter a bug or have a feature request, please open an issue in the [GitHub Issues](https://github.com/IDEMSInternational/ExcelToShiny/issues) section. Provide as much detail as possible, including steps to reproduce the issue if applicable.

* Seek support: For any questions or help with using `ExcelToShiny`, you can reach out by opening a discussion in the GitHub Discussions, or open a new issue with a "Question" label. We aim to respond within a week.

We appreciate your contributions and feedback!

Owner

  • Name: IDEMS International
  • Login: IDEMSInternational
  • Kind: organization
  • Email: contact@idems.international

JOSS Publication

ExcelToShiny: An R Package for Automating Shiny Dashboard Creation from Excel Templates
Published
July 21, 2025
Volume 10, Issue 111, Page 7876
Authors
Lily Clements ORCID
IDEMS International
Editor
Sehrish Kanwal ORCID
Tags
Shiny open-source data visualisation automation Excel dashboard reproducibility transparency user interface data-driven interactive application

GitHub Events

Total
  • Create event: 2
  • Release event: 2
  • Issues event: 22
  • Watch event: 1
  • Issue comment event: 29
  • Push event: 148
  • Pull request event: 68
Last Year
  • Create event: 2
  • Release event: 2
  • Issues event: 22
  • Watch event: 1
  • Issue comment event: 29
  • Push event: 148
  • Pull request event: 68

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 14
  • Total pull requests: 74
  • Average time to close issues: 3 days
  • Average time to close pull requests: 29 minutes
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 1.93
  • Average comments per pull request: 0.14
  • Merged pull requests: 68
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 14
  • Pull requests: 74
  • Average time to close issues: 3 days
  • Average time to close pull requests: 29 minutes
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 1.93
  • Average comments per pull request: 0.14
  • Merged pull requests: 68
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • devarops (12)
  • lilyclements (2)
Pull Request Authors
  • lilyclements (74)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

DESCRIPTION cran
  • dplyr * imports
  • forcats * imports
  • ggplot2 * imports
  • gt * imports
  • magrittr * imports
  • plyr * imports
  • postgresr * imports
  • purrr * imports
  • rlang * imports
  • tibble * imports
  • tidyr * imports
  • viridis * imports
.github/workflows/check-release.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite