This site is my submission for the final project of the “Developing Data Products” course of the Data Science Specialization in Coursera.
The primary goal was to learn interactive presentation tools such as Shiny, Slidify, and R Studio Presenter. These tools are integrated with RStudio and commonly used by data scientists to publish their work.
The exercise was two-fold:
Publish an interactive Shiny application and publish it to the shinyapps.io web site. The content for the exercise was left to the student, but the application had to have at least one input widget, some dynamic output rendered via R, and enough documentation that a novice user could use the application.
Publish a presentation documenting the application and its findings.
Additionally, all project files are managed in github.com and published to public web sites (i.e., shinyapps.io and github.com)
This project has two branches in Github. The current “gh-pages” branch contains the HTML files that were written by hand and using RStudio (presentation) and are automatically published to the github.io hosting pages. The “master” branch contains the Shiny app files that were deployed to the Shiny server at shinyapps.io.
Consequently, there are several web pages that are all linked from the main github.io pages:
http://fsmithus.github.io/DevelopDataProducts-Project/index.html - Index to project web sites.
http://fsmithus.github.io/DevelopDataProducts-Project/USPopulation.html - Slide presentation describing the Shiny application.
https://fsmith.shinyapps.io/master/ - Shiny application running dynamic pupulation study maps. The application may take a couple minutes to startup on the first visit.
http://fsmithus.github.io/DevelopDataProducts-Project/README.html - This file, created as Rmd. Includes this information and the version information required to make this study reproduceable.
https://github.com/fsmithus/DevelopDataProducts-Project/tree/master - Project master branch which contains the code for the Shiny application (i.e., ui.R and server.R).
https://github.com/fsmithus/DevelopDataProducts-Project/tree/gh-pages - Project gh-pages branch which contains the static (compiled) project pages.
The following packages were used to develop the web sites.
library(maps)
library(mapproj)
library(maptools)
library(shiny)
library(shinyapps)
Versions were as shown below.
sessionInfo()
## R version 3.2.5 (2016-04-14)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 8.1 x64 (build 9600)
##
## locale:
## [1] LC_COLLATE=English_United States.1252
## [2] LC_CTYPE=English_United States.1252
## [3] LC_MONETARY=English_United States.1252
## [4] LC_NUMERIC=C
## [5] LC_TIME=English_United States.1252
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] shinyapps_0.3.63 shiny_0.13.2 maptools_0.8-39 sp_1.2-3
## [5] mapproj_1.2-4 maps_3.1.0
##
## loaded via a namespace (and not attached):
## [1] Rcpp_0.12.5 lattice_0.20-33 digest_0.6.9 mime_0.4
## [5] R6_2.1.2 grid_3.2.5 xtable_1.8-2 formatR_1.4
## [9] magrittr_1.5 evaluate_0.9 stringi_1.0-1 rmarkdown_0.9.6
## [13] tools_3.2.5 foreign_0.8-66 stringr_1.0.0 httpuv_1.3.3
## [17] yaml_2.1.13 htmltools_0.3.5 knitr_1.13