mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-25 07:10:16 -07:00
Maryland EJSCREEN Addition to comparison tool (#1143)
* finalized * cleanup notebook * cleanup * run black
This commit is contained in:
parent
2604b66cf7
commit
a98ea35f74
6 changed files with 174 additions and 2 deletions
|
@ -276,6 +276,25 @@
|
|||
"mapping_inequality_df"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "0c290efa",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Load Maryland EJScreen\n",
|
||||
"maryland_ejscreen_data_path = (\n",
|
||||
" DATA_DIR / \"dataset\" / \"maryland_ejscreen\" / \"maryland.csv\"\n",
|
||||
")\n",
|
||||
"maryland_ejscreen_df = pd.read_csv(\n",
|
||||
" maryland_ejscreen_data_path,\n",
|
||||
" dtype={ExtractTransformLoad.GEOID_TRACT_FIELD_NAME: \"string\"},\n",
|
||||
")\n",
|
||||
"\n",
|
||||
"maryland_ejscreen_df.tail()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
|
@ -329,6 +348,7 @@
|
|||
" calenviroscreen_df,\n",
|
||||
" persistent_poverty_df,\n",
|
||||
" mapping_inequality_df,\n",
|
||||
" maryland_ejscreen_df,\n",
|
||||
" energy_definition_alternative_draft_df,\n",
|
||||
" michigan_ejscreen_df\n",
|
||||
"]\n",
|
||||
|
@ -456,6 +476,10 @@
|
|||
" priority_communities_field=PERSISTENT_POVERTY_TRACT_LEVEL_FIELD,\n",
|
||||
" ),\n",
|
||||
" Index(\n",
|
||||
" method_name=\"Maryland EJSCREEN\",\n",
|
||||
" priority_communities_field=field_names.MARYLAND_EJSCREEN_BURDENED_THRESHOLD_FIELD,\n",
|
||||
" ), \n",
|
||||
" Index(\n",
|
||||
" method_name=field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE,\n",
|
||||
" priority_communities_field=field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE,\n",
|
||||
" ),\n",
|
||||
|
@ -1301,7 +1325,7 @@
|
|||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"display_name": "Python 3",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
|
@ -1315,7 +1339,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.6"
|
||||
"version": "3.6.2"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue