Website: EJI Country Maps
This code:
- Contains an index.html that allows one to select a county-level map to display either from the CDC's website, or from a GitHub repository.
- Contains code to scrape the CDC's website for data files.
- Contains code to create repositories, one for each state, for the data files.
- Clone this repository.
- Install
uv
- Run
uv sync
to install dependencies.
- Run
uv run scrape_cdc_county_level_reports.py
to scrape the CDC's website for data files. (Runuv run scrape_cdc_county_level_reports.py --help
the first time to see options for where to put data files.)
- Run
./create_repos.sh <data_dir>
to create repositories for each state. If you want to use a different organization, you'll have to change the code. Currently, it is set to theedgi-govdata-archiving
organization.