Skip to content

Commit

Permalink
create README
Browse files Browse the repository at this point in the history
  • Loading branch information
willf committed Jan 9, 2025
1 parent ffdab9f commit e4381ef
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# CDC Environmental Justice Index (EJI) County Map series

Website: [EJI Country Maps](https://willf.github.io/cdc_eji_county_level_reports/)

This code:

1. 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.
2. Contains code to _scrape_ the CDC's website for data files.
3. Contains code to create repositories, one for each state, for the data files.

## Installation

1. Clone this repository.
2. Install [`uv`](https://docs.astral.sh/uv/)

## Scraping the CDC's website

1. Run `uv run scrape_cdc_county_level_reports.py` to scrape the CDC's website for data files. (Run `uv run scrape_cdc_county_level_reports.py --help` the first time to see options for where to put data files.)

## Creating repositories

1. 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 the `edgi-govdata-archiving` organization.
File renamed without changes.

0 comments on commit e4381ef

Please sign in to comment.