The purpose of this project is to demonstrate data analysis techniques using R
- Install RStudio https://posit.co/products/open-source/rstudio/
- Open
app/app.R
in RStudio - Click the "Run App" button in RStudio
- Install Docker desktop docker.com/products/docker-desktop/
- Build the docker container from a terminal. This will take some time.
docker build -t final-project-shiny-app .
- Run the docker container
docker run --rm -p 3838:3838 final-project-shiny-app
- Navigate to
localhost:3838
in a web browser to view the application
- The Tidyverse and CA Tools will need to be installed if not already
install.packages("tidyverse")
install.packages("caTools")
- Open one of the test files in
app/tests/testthat/
in RStudio - Click the "Run Tests" button
- Set the working directory to the project root located on the file system
setwd("~/project")
- Run the test suite
shiny::runTests("app")
https://catalog.data.gov/dataset/port-authority-monthly-on-time-performance-by-route
├── Dockerfile
├── LICENSE
├── README.md
├── app
│ ├── R
│ │ ├── aggregate-module.R
│ │ ├── regression-module.R
│ │ └── route-module.R
│ ├── app.R
│ ├── dataset.csv
│ └── tests
│ ├── test_data
│ │ └── dataset.csv
│ ├── testthat
│ │ ├── setup-shinytest2.R
│ │ ├── test-aggregate-module.R
│ │ ├── test-regression-module.R
│ │ └── test-route-module.R
│ └── testthat.R
├── executive_summary.docx
└── table_of_contents.txt