ShinyAPP link: https://parasdeepkohli.shinyapps.io/Project-1/ Github link: https://github.com/Parasdeepkohli/cs424-Project1
I highly recommend using Rstudio as your IDE for this application
Once you get Rstudio installed, please install the following libraries using the 'install.packages(""):
- Shiny
- ggplot2
- DT
- usmap
- scales
- stringr
Steps to link this application on your Shiny account:
- Open Rstudio
- Set your working directory to the Shiny App folder with "setwd("") NOTE: '' is an escape character
- Ensure you have the required libraries installed
- Open either "server.R" or "ui.R" in Rstudio using "File -> Open File" on the top left
- Click the "run app" option next to a green horizontal arrow on the top right NOTE: If you don't, try updating Rstudio
- Once you have ensured that everything is functional, click the "publish" icon on the top-right, next to the "run app" option
You'll need to link your Shiny account to Rstudio before publishing. The steps to do that are:
- Open Rstudio
- Go to "Tools -> Global options"
- In the "publishing" tab, select "connect"
In case you do not have an account, please visit "Shinyapps.io" and create one before following the above steps
Credits for code snippets (Only needed minor modifications to fit my solution. These guys are awesome!):
- Generic add units code by user 'Tung' at https://stackoverflow.com/questions/52602503/display-an-axis-value-in-millions-in-ggplot
- Select all feature by user 'yihui' at rstudio/shiny#42
- Reduce DT table text size by user 'rsoren' at https://stackoverflow.com/questions/25069224/rstudio-shiny-renderdatatable-font-size#:~:text=You%20can%20put%20dataTableOutput("tableName,style%20takes%20CSS%20arguments.&text=to%20make%20the%20font%20size%2020%25%20smaller.