Final Project for CAPP122
Jackie Glasheen, Harsh Vardhan Pachisia, Shwetha Srinivasan, and Jennifer Yeaton
42.63 % of natural disasters in the United States since 1980 have taken place over the last 12 years. It is evident that climate change and global warming are causing extreme weather disasters to occur with more frequency. The increase in natural disaster declarations over the past several decades has led to the federal government spending more money on disaster relief. Due to the increase in frequency and cost of such disasters, a Congressional Research Service paper from January 2022 suggests that Congress may consider limiting federal disaster relief spending.
Disasters impact different geographic regions, affecting specific states and communities disproportionately. Through this dashboard, we hope to shed light on the increase in disaster frequency and cost nationwide. We highlight the specific situation in each state, where its political stance is on climate, and showcase the top ten counties that are at most risk based on socio-economic factors and require long term policy action.
This dashboard was built using Python and Dash, using climate disaster and public assistance data from the Federal Emergency Management Agency, scraped data of the voting patterns on the Climate IRA bill, and the Census API for county-level socio-economic breakdown.
This project can be run using Poetry. The steps are outlined below.
-
Make a clone of the project repository
-
Go to the project directory:
cd 30122-project-snow-lm
-
From the directory install virtual environment and dependencies:
poetry install
-
Activate the virtual environment:
poetry shell
-
Create an environment variable for the U.S. Census API key:
export CENSUS_API_KEY=YOUR_KEY_HERE
-
Run the project:
python3 -m snowlm
It will ask you to open the dash application in the browser to see the interactive dashboard.
Pressing Control+C in your terminal will close the application.