CAPP 30122 Group Project
Frank Vasquez, Jacob Trout, Praveen Devarajan, Xiaoyue Wei
This project aggregates and analyzes data to builds interactive visualizations on electricity generation in the United States. It seeks explore the relationship between sources energy (renewable vs non-renewable), energy prices, and C02 emissions across states and across time.
- Clone the repository.
git clone https://github.com/capp30122-watts-up/watts_up.git
- Navigate to the repository.
cd ./watts_up
- Download Poetry, which allows the user to run the application in a virtual environment, following these instructions. Then install poetry.
poetry install
- Activate the virtual environment in poetry.
poetry shell
- [OPTIONAL] Execute the ETL process. Pull data from API, combine multiple years of E-Grid data, clean, and create the database. Note that one of the API key is needed to execute this process. One can request an API key here. We recommend requesting API key from the EIA directly. This step is optional since the completed database is already present in the application. This step takes approximately 1 minute to run.
Once the API key is acquired, set the variable in your terminal with the following code:
export API_KEY="Your_API_KEY_Here"
After the key is set, run the data processing.
python3 -m watts_up getdata
- Launch the Application.
python3 -m watts_up dashboard
The IDE will provide a local URL. Either control+click the link or paste it into your browser to view the interactive dashboard.
Click here for a summary of the project
Professor: James Turk
Teaching Assistant: Reza Rizky Pratama
Data Sources:
- Energy Information Agency
- Environmental Protection Agency
- US Census