mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
Issue 1129: remove deprecated field other_census_tract_fields_to_keep (#1130)
This commit is contained in:
parent
0abf04d6c2
commit
114e6b765a
1 changed files with 2 additions and 27 deletions
|
@ -387,9 +387,6 @@
|
||||||
" field_names=[\n",
|
" field_names=[\n",
|
||||||
" \"method_name\",\n",
|
" \"method_name\",\n",
|
||||||
" \"priority_communities_field\",\n",
|
" \"priority_communities_field\",\n",
|
||||||
" # TODO: remove this field??\n",
|
|
||||||
" # Note: this field only used by indices defined at the census tract level.\n",
|
|
||||||
" \"other_census_tract_fields_to_keep\",\n",
|
|
||||||
" ],\n",
|
" ],\n",
|
||||||
")\n",
|
")\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
@ -413,7 +410,6 @@
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"Definition L\",\n",
|
" method_name=\"Definition L\",\n",
|
||||||
" priority_communities_field=field_names.SCORE_L_COMMUNITIES,\n",
|
" priority_communities_field=field_names.SCORE_L_COMMUNITIES,\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" ]\n",
|
" ]\n",
|
||||||
" # Insert indices for each of the factors from Definition L.\n",
|
" # Insert indices for each of the factors from Definition L.\n",
|
||||||
|
@ -422,7 +418,6 @@
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=factor,\n",
|
" method_name=factor,\n",
|
||||||
" priority_communities_field=factor,\n",
|
" priority_communities_field=factor,\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" )\n",
|
" )\n",
|
||||||
" for factor in definition_l_factors\n",
|
" for factor in definition_l_factors\n",
|
||||||
" ]\n",
|
" ]\n",
|
||||||
|
@ -431,58 +426,42 @@
|
||||||
" # Note: we're renaming Score G as NMTC Modified for clarity, since that's what Score G is under the hood.\n",
|
" # Note: we're renaming Score G as NMTC Modified for clarity, since that's what Score G is under the hood.\n",
|
||||||
" method_name=\"NMTC Modified\",\n",
|
" method_name=\"NMTC Modified\",\n",
|
||||||
" priority_communities_field=field_names.SCORE_G_COMMUNITIES,\n",
|
" priority_communities_field=field_names.SCORE_G_COMMUNITIES,\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"NMTC\",\n",
|
" method_name=\"NMTC\",\n",
|
||||||
" priority_communities_field=\"NMTC (communities)\",\n",
|
" priority_communities_field=\"NMTC (communities)\",\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"Score C\",\n",
|
" method_name=\"Score C\",\n",
|
||||||
" priority_communities_field=\"Score C (top 25th percentile)\",\n",
|
" priority_communities_field=\"Score C (top 25th percentile)\",\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"Score D (30th percentile)\",\n",
|
" method_name=\"Score D (30th percentile)\",\n",
|
||||||
" priority_communities_field=\"Score D (top 30th percentile)\",\n",
|
" priority_communities_field=\"Score D (top 30th percentile)\",\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"Score D (25th percentile)\",\n",
|
" method_name=\"Score D (25th percentile)\",\n",
|
||||||
" priority_communities_field=\"Score D (top 25th percentile)\",\n",
|
" priority_communities_field=\"Score D (top 25th percentile)\",\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"Score F\",\n",
|
" method_name=\"Score F\",\n",
|
||||||
" priority_communities_field=field_names.SCORE_F_COMMUNITIES,\n",
|
" priority_communities_field=field_names.SCORE_F_COMMUNITIES,\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"CalEnviroScreen 4.0\",\n",
|
" method_name=\"CalEnviroScreen 4.0\",\n",
|
||||||
" priority_communities_field=\"calenviroscreen_priority_community\",\n",
|
" priority_communities_field=\"calenviroscreen_priority_community\",\n",
|
||||||
" other_census_tract_fields_to_keep=[\n",
|
|
||||||
" CALENVIROSCREEN_SCORE_FIELD,\n",
|
|
||||||
" CALENVIROSCREEN_PERCENTILE_FIELD,\n",
|
|
||||||
" ],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"Persistent Poverty\",\n",
|
" method_name=\"Persistent Poverty\",\n",
|
||||||
" priority_communities_field=PERSISTENT_POVERTY_TRACT_LEVEL_FIELD,\n",
|
" priority_communities_field=PERSISTENT_POVERTY_TRACT_LEVEL_FIELD,\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\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",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"Michigan EJSCREEN\",\n",
|
" method_name=\"Michigan EJSCREEN\",\n",
|
||||||
" priority_communities_field=field_names.MICHIGAN_EJSCREEN_PRIORITY_COMMUNITY_FIELD,\n",
|
" priority_communities_field=field_names.MICHIGAN_EJSCREEN_PRIORITY_COMMUNITY_FIELD,\n",
|
||||||
" other_census_tract_fields_to_keep=[\n",
|
|
||||||
" field_names.MICHIGAN_EJSCREEN_SCORE_FIELD,\n",
|
|
||||||
" field_names.MICHIGAN_EJSCREEN_PERCENTILE_FIELD,\n",
|
|
||||||
" ],\n",
|
|
||||||
" ), \n",
|
" ), \n",
|
||||||
" ]\n",
|
" ]\n",
|
||||||
" # Insert indices for each of the HOLC factors.\n",
|
" # Insert indices for each of the HOLC factors.\n",
|
||||||
|
@ -491,7 +470,6 @@
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=factor,\n",
|
" method_name=factor,\n",
|
||||||
" priority_communities_field=factor,\n",
|
" priority_communities_field=factor,\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" )\n",
|
" )\n",
|
||||||
" for factor in HOLC_FACTORS\n",
|
" for factor in HOLC_FACTORS\n",
|
||||||
" ]\n",
|
" ]\n",
|
||||||
|
@ -502,17 +480,14 @@
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"EJSCREEN Areas of Concern, National, 80th percentile\",\n",
|
" method_name=\"EJSCREEN Areas of Concern, National, 80th percentile\",\n",
|
||||||
" priority_communities_field=field_names.EJSCREEN_AREAS_OF_CONCERN_NATIONAL_80TH_PERCENTILE_COMMUNITIES_FIELD,\n",
|
" priority_communities_field=field_names.EJSCREEN_AREAS_OF_CONCERN_NATIONAL_80TH_PERCENTILE_COMMUNITIES_FIELD,\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"EJSCREEN Areas of Concern, National, 90th percentile\",\n",
|
" method_name=\"EJSCREEN Areas of Concern, National, 90th percentile\",\n",
|
||||||
" priority_communities_field=field_names.EJSCREEN_AREAS_OF_CONCERN_NATIONAL_90TH_PERCENTILE_COMMUNITIES_FIELD,\n",
|
" priority_communities_field=field_names.EJSCREEN_AREAS_OF_CONCERN_NATIONAL_90TH_PERCENTILE_COMMUNITIES_FIELD,\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
" Index(\n",
|
" Index(\n",
|
||||||
" method_name=\"EJSCREEN Areas of Concern, National, 95th percentile\",\n",
|
" method_name=\"EJSCREEN Areas of Concern, National, 95th percentile\",\n",
|
||||||
" priority_communities_field=field_names.EJSCREEN_AREAS_OF_CONCERN_NATIONAL_95TH_PERCENTILE_COMMUNITIES_FIELD,\n",
|
" priority_communities_field=field_names.EJSCREEN_AREAS_OF_CONCERN_NATIONAL_95TH_PERCENTILE_COMMUNITIES_FIELD,\n",
|
||||||
" other_census_tract_fields_to_keep=[],\n",
|
|
||||||
" ),\n",
|
" ),\n",
|
||||||
"]\n",
|
"]\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
@ -1326,7 +1301,7 @@
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
"display_name": "Python 3",
|
"display_name": "Python 3 (ipykernel)",
|
||||||
"language": "python",
|
"language": "python",
|
||||||
"name": "python3"
|
"name": "python3"
|
||||||
},
|
},
|
||||||
|
@ -1340,7 +1315,7 @@
|
||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.6.2"
|
"version": "3.9.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
|
Loading…
Add table
Reference in a new issue