Prepared by Nathan Chan
Please visit this link for the full report:
https://nathankchan.github.io/shopify-ds-intern-challenge/Analysis.html
For an interactive GUI to examine your own data, please visit this link:
https://nathankchan.shinyapps.io/Histogram-Density_Plot_Viewer
To visit this project on github, please visit this link:
https://github.com/nathankchan/shopify-ds-intern-challenge
This project contains three parts:
- an R Markdown document (already knit to HTML, see here);
- an R Shiny app ("program", already deployed to shinyapps.io, see here) that provides an interactive GUI that produces histogram-density plots and reports key metrics; and
- an R script that saves two files to
./output
:- a .csv file of summary statistics; and
- an interactive HTML histogram-density plot.
It is strongly recommended that you view the report (option 1).
The report contains my full thought process, interactive visualizations, and complete answers for Questions 1 and 2.
To run the Shiny app online (option 2), visit the website and upload your Excel file.
To run the Shiny app or R script locally (options 2 or 3), download the repository and run the following command in your terminal. Note that you must have R installed for the app/script to execute.
cd /path/to/repository
# To run the Shiny app
Rscript app.R
# To run the R script (see script for usage information and optional arguments)
Rscript run.R