This is a walk-through on how to run this app on your local machine.
1. Download the data file, the link to the data file is under the DATA tab
2. Download the source code, the source code can be downloaded from the Github link provided above which has an app.R file and the data file
3.In order to run the app, you need to have R & Rstudio installed on your pc. Instructions are all over google and can be found easily.
Link to download R: https://www.r-project.org/
Link to download R studio: https://www.rstudio.com/
4. Once you download both, open the app.R file from the Github link in Rstudio and you will have to install some libraries. you can easily install a library by typing install.packages("library name") on the command line in Rstudio. The libraries needed are mentioned at the top of the app.R file.
5. Once all the libraries are installed, press the run button on the top right to run the program and the app should successfully launch and the user could use the reactive user input to visualize various data across all years and different states for each energy and if the user wants to publish this app on shiny. They would need to create a shiny app account using this link: http://shiny.rstudio.com/ and instructions to download and connecting shiny with Rstudio can be found easily on google. After account creation. Users can now publish the app by clicking a blue icon on the top right corner near run and by clicking publish. By doing this, the user would be deploying the app and the web app should open automatically on shiny.