-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.