Skip to content
forked from cenuno/shiny

Useful tips and tricks when creating shiny apps.

License

Notifications You must be signed in to change notification settings

jamesjin63/shiny

 
 

Repository files navigation

Using Shiny

Useful tips and tricks when creating shiny apps.


CPS Locator: making it easier to find the right Chicago Public School for you.

CPS Locator Home Tab

CPS Locator Downloads Tab

Chicago Public Schools (CPS) Locator is a web-based Shiny app that empowers users to interact firsthand with CPS school year 2016-2017 data.

Run App from RStudio/R Console

Copy and paste the following R commands to run the app locally on your machine:

# Install necessary packages
install.packages( c("shiny", "DT", "shinydashboard", "dplyr"
                     , "magrittr", "htmltools", "htmlwidgets"
                     , "sp", "splancs", "stringr", "rgeos" 
                     , "devtools", "bitops", "RCurl", "rgdal"
                     ) )
                     
# install `leaflet` package from source
# for more info, click here: https://rstudio.github.io/leaflet/
devtools::install_github( "rstudio/leaflet" )

# Load necessary packages
library( shiny )

# Run shiny app from your R/RStudio Console
shiny::runUrl( url = "https://github.com/cenuno/shiny/archive/master.zip"
                , subdir = "cps_locator"
                )

Next Steps

Please check out the CPS Locator Version 3.0 Projects Board to get an update on the tasks remaining for this project.

Thank you everyone for your feedback and encouragement on this project!

Last updated on September 9, 2017


Customizing DT Download Button

To learn how to enable your shiny app user to download all rows of a data frame, please click here.

Screenshot of Downloading All Rows from DT within Shiny Screenshot of Downloading All Rows from DT within Shiny


About

Useful tips and tricks when creating shiny apps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 98.1%
  • CSS 1.9%