Skip to content

FunBioDiv/shinyFunBioDiv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shinyFunBioDiv

Shiny app for exploring FunBioDiv datasets. You can run the shinyApp locally, or use it online.

Run the shiny-app locally

First, you need to install this R-package with the following step:

## Install < remotes > package (if not already installed) ----
if (!requireNamespace(c("remotes"), quietly = TRUE)) {
  install.packages(c("remotes"))
}

## Install < shinyFunBioDiv > from GitHub ----
remotes::install_github("FRBCesab/shinyFunBioDiv")

Then you can run the Shiny app locally with the function runShiny():

## load < shinyFunBioDiv> package
library(shinyFunBioDiv)

# run the Shiny app locally
runShiny()

Update metadata and export on shinyapps.io

To follow this procedure, you need to clone this repository in Github. Then follow the three steps below.

1. Update the metadata

devtools::load_all()
source("analysis/01_prepare_data.R")
source("analysis/02_contingency.R")

2. Test the shiny app

# run the Shiny app locally
runShiny()

3. Deploy the shiny app to shinyapps.io

# deploy the shinyapp to online server
rsconnect::deployApp(
    appDir = "app",
    appFiles = rsconnect::listDeploymentFiles("app"),
    appName = "shinyFunBioDiv",
    appTitle = "FunBioDiv data explorer"
)

About

Shiny app for exploring FunBioDiv datasets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages