diff --git a/Project-Documentation/Equity-Priority-Communities/equity_priority_communities_build.ipynb b/Project-Documentation/Equity-Priority-Communities/equity_priority_communities_build.ipynb index ef03d95..ec2c1b4 100644 --- a/Project-Documentation/Equity-Priority-Communities/equity_priority_communities_build.ipynb +++ b/Project-Documentation/Equity-Priority-Communities/equity_priority_communities_build.ipynb @@ -493,7 +493,7 @@ "source": [ "cols = {\n", " \"fipco\": \"county_fip\",\n", - " \"B03002_001E\": \"tot_pop_mi\",\n", + " \"B03002_001E\": \"tot_pop_poc\",\n", " \"B01001_001E\": \"tot_pop_se\",\n", " \"C17002_001E\": \"tot_pop_po\",\n", " \"C18108_001E\": \"tot_pop_ci\",\n", @@ -520,7 +520,7 @@ "outputs": [], "source": [ "# calculate pocty population\n", - "acs_df[\"pop_poc\"] = acs_df[\"tot_pop_mi\"] - acs_df[\"B03002_003E\"]\n", + "acs_df[\"pop_poc\"] = acs_df[\"tot_pop_poc\"] - acs_df[\"B03002_003E\"]\n", "\n", "# calculate senior population\n", "acs_df[\"pop_over75\"] = (\n", @@ -578,7 +578,7 @@ "outputs": [], "source": [ "acs_df[\"pct_poc\"] = np.where(\n", - " acs_df[\"tot_pop_mi\"] == 0, 0, (acs_df[\"pop_poc\"] / acs_df[\"tot_pop_mi\"])\n", + " acs_df[\"tot_pop_poc\"] == 0, 0, (acs_df[\"pop_poc\"] / acs_df[\"tot_pop_poc\"])\n", ")\n", "acs_df[\"pct_over75\"] = np.where(\n", " acs_df[\"tot_pop_se\"] == 0, 0, (acs_df[\"pop_over75\"] / acs_df[\"tot_pop_se\"])\n", @@ -845,7 +845,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "/var/folders/9q/xt2lctm54xq6fd45m1lmgp4m0000gp/T/ipykernel_80927/4199737063.py:1: FutureWarning: The provided callable is currently using SeriesGroupBy.sum. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string \"sum\" instead.\n", + "/var/folders/9q/xt2lctm54xq6fd45m1lmgp4m0000gp/T/ipykernel_82004/4199737063.py:1: FutureWarning: The provided callable is currently using SeriesGroupBy.sum. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string \"sum\" instead.\n", " acs_df.groupby(\"epc_class\")[\"epc_2050p\"].agg(sum)\n" ] }, @@ -1148,7 +1148,7 @@ " \n", " \n", " 1\n", - " Minorities\n", + " People of Color\n", " 0.61\n", " 0.23\n", " 0.72\n", @@ -1216,7 +1216,7 @@ "text/plain": [ " factors mean std plus_half_sd \\\n", "0 Seniors 75 Years and Over 0.07 0.06 0.10 \n", - "1 Minorities 0.61 0.23 0.72 \n", + "1 People of Color 0.61 0.23 0.72 \n", "2 Limited English Proficiency 0.07 0.08 0.11 \n", "3 Single Parent Families 0.12 0.09 0.16 \n", "4 Low-Income (<200% Federal Poverty Level-FPL) 0.18 0.13 0.24 \n", @@ -1287,7 +1287,7 @@ "final_cols = [\n", " \"tract_geoid\",\n", " \"county_fip\",\n", - " \"tot_pop_mi\",\n", + " \"tot_pop_poc\",\n", " \"tot_pop_se\",\n", " \"tot_pop_po\",\n", " \"tot_pop_ci\",\n", @@ -1339,7 +1339,15 @@ "cell_type": "code", "execution_count": 52, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Published DRAFT Equity Priority Communities - Plan Bay Area 2050 Plus (ACS 2022) to ArcGIS Online as 7a02c40be2864d52bcb19b32979e1eb0\n" + ] + } + ], "source": [ "publish_geojson_to_agol(\n", " geojson_path=epc_path,\n", @@ -1363,7 +1371,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 53, "metadata": {}, "outputs": [], "source": [ @@ -1372,7 +1380,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 54, "metadata": {}, "outputs": [], "source": [ @@ -1381,7 +1389,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 55, "metadata": {}, "outputs": [], "source": [