mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-03 23:34:18 -07:00
added scoring comparison
This commit is contained in:
parent
0d464e518b
commit
7ffd80d247
1 changed files with 27 additions and 0 deletions
|
@ -276,6 +276,25 @@
|
||||||
"mapping_inequality_df"
|
"mapping_inequality_df"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"id": "b9b48769",
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"# Load Maryland EJScreen\n",
|
||||||
|
"maryland_ejscreen_data_path = (\n",
|
||||||
|
" DATA_DIR / \"dataset\" / \"maryland_ejscreen\" / \"maryland_ejscreen.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",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
@ -329,6 +348,7 @@
|
||||||
" calenviroscreen_df,\n",
|
" calenviroscreen_df,\n",
|
||||||
" persistent_poverty_df,\n",
|
" persistent_poverty_df,\n",
|
||||||
" mapping_inequality_df,\n",
|
" mapping_inequality_df,\n",
|
||||||
|
" maryland_ejscreen_df,\n",
|
||||||
" energy_definition_alternative_draft_df,\n",
|
" energy_definition_alternative_draft_df,\n",
|
||||||
" michigan_ejscreen_df\n",
|
" michigan_ejscreen_df\n",
|
||||||
"]\n",
|
"]\n",
|
||||||
|
@ -456,6 +476,13 @@
|
||||||
" priority_communities_field=PERSISTENT_POVERTY_TRACT_LEVEL_FIELD,\n",
|
" priority_communities_field=PERSISTENT_POVERTY_TRACT_LEVEL_FIELD,\n",
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
|
" method_name=\"Maryland EJSCREEN\",\n",
|
||||||
|
" priority_communities_field=field_names.MARYLAND_EJSCREEN_TRACT_90_PERCENT_FIELD,\n",
|
||||||
|
" other_census_tract_fields_to_keep=[\n",
|
||||||
|
" field_names.MARYLAND_PERCENTILE_FIELD_NAME\n",
|
||||||
|
" ]\n",
|
||||||
|
" ), \n",
|
||||||
|
" Index(\n",
|
||||||
" method_name=field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE,\n",
|
" method_name=field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE,\n",
|
||||||
" priority_communities_field=field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE,\n",
|
" priority_communities_field=field_names.ENERGY_RELATED_COMMUNITIES_DEFINITION_ALTERNATIVE,\n",
|
||||||
" ),\n",
|
" ),\n",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue