Added Census Tract Aggregated Micro-data from EPA Risk-Screening Environmental Indicators (RSEI) model (#1101)

* added initial source code - todo is comparison tool

* added values

* rename fields

* check geoid

* added black

* added revisions

* added clean up to comments

* more comments

* formatting

* cleanup and address PR feedback

* fix changes

* final path changes

* style

* PR feedback

* added final PR comment

* fix flake 8

* add revisions
This commit is contained in:
Saran Ahluwalia 2022-01-14 13:50:49 -05:00 committed by GitHub
commit 95a14adb35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 204 additions and 0 deletions

View file

@ -333,6 +333,25 @@
"michigan_ejscreen_df.head()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b39342aa",
"metadata": {},
"outputs": [],
"source": [
"# Load EPA RSEI EJSCREEN\n",
"epa_rsei_aggregate_data_path = (\n",
" DATA_DIR / \"dataset\" / \"epa_rsei_aggregated\" / \"usa.csv\"\n",
")\n",
"epa_rsei_aggregate_df = pd.read_csv(\n",
" epa_rsei_aggregate_data_path,\n",
" dtype={ExtractTransformLoad.GEOID_TRACT_FIELD_NAME: \"string\"},\n",
")\n",
"\n",
"epa_rsei_aggregate_df.head()"
]
},
{
"cell_type": "code",
"execution_count": null,
@ -348,6 +367,7 @@
" calenviroscreen_df,\n",
" persistent_poverty_df,\n",
" mapping_inequality_df,\n",
" epa_rsei_aggregate_df,\n",
" maryland_ejscreen_df,\n",
" energy_definition_alternative_draft_df,\n",
" michigan_ejscreen_df\n",
@ -472,6 +492,10 @@
" priority_communities_field=\"calenviroscreen_priority_community\",\n",
" ),\n",
" Index(\n",
" method_name=\"EPA RSEI Aggregate Microdata\",\n",
" priority_communities_field=field_names.EPA_RSEI_SCORE_THRESHOLD_FIELD\n",
" ), \n",
" Index(\n",
" method_name=\"Persistent Poverty\",\n",
" priority_communities_field=PERSISTENT_POVERTY_TRACT_LEVEL_FIELD,\n",
" ),\n",