diff --git a/ntd/TEST_monthly_ridership_report.ipynb b/ntd/TEST_monthly_ridership_report.ipynb index aeea6cbdc..30de28eac 100644 --- a/ntd/TEST_monthly_ridership_report.ipynb +++ b/ntd/TEST_monthly_ridership_report.ipynb @@ -2,18 +2,19 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "15e15e64-5776-4b05-813d-22d1d58379d8", "metadata": {}, "outputs": [], "source": [ "import sys\n", - "sys.path.append(\"../bus_service_increase\") " + "sys.path.append(\"../bus_service_increase\") \n", + "sys.path.append(\"../starter_kit\") # to test out style_df function" ] }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "39433d1d-c54e-475c-878e-78c992d0eb58", "metadata": {}, "outputs": [], @@ -32,6 +33,7 @@ "from calitp_data_analysis import calitp_color_palette as cp\n", "from update_vars import PUBLIC_FILENAME, YEAR, MONTH\n", "from TEST_monthly_ridership_by_rtpa import sum_by_group\n", + "from _starterkit_utils import style_df\n", "#from monthly_ridership_by_rtpa import get_percent_change\n", "#from shared_utils.rt_dates import MONTH_DICT\n", "\n", @@ -44,7 +46,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "798b9f83-ee62-489d-bc7c-9d1542af0a29", "metadata": { "tags": [ @@ -54,24 +56,17 @@ "outputs": [], "source": [ "# parameters cell for local\n", - "#rtpa = \"Metropolitan Transportation Commission\" # lots of reporters\n", - "rtpa = \"Butte County Association of Governments\" # 2 reporters " + "rtpa = \"Metropolitan Transportation Commission\" # lots of reporters\n", + "#rtpa = \"Butte County Association of Governments\" # 2 reporters \n", + "#rtpa = \"San Joaquin Council of Governments\" # 4 reporters" ] }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "f649dd2e-d38b-439c-94cd-a7480dc77511", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{\"rtpa\": \"Butte County Association of Governments\"}\n" - ] - } - ], + "outputs": [], "source": [ "%%capture_parameters\n", "rtpa" @@ -99,26 +94,10 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "937118f4-c4b3-4702-8ea2-ec43c5b7bd10", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - " \n", - " Download the latest month of data: 2024_November.zip\n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "URL = (\"https://console.cloud.google.com/storage/\"\n", " \"browser/calitp-publish-data-analysis\"\n", @@ -136,7 +115,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "cf017b79-26d5-455b-8c99-e9ba27d2dd77", "metadata": {}, "outputs": [], @@ -155,57 +134,17 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "id": "79364807-66b3-4917-acd9-17230400dfab", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "Int64Index: 332 entries, 23658 to 87718\n", - "Data columns (total 26 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 key 332 non-null object \n", - " 1 ntd_id 332 non-null object \n", - " 2 legacy_ntd_id 332 non-null object \n", - " 3 agency 332 non-null object \n", - " 4 reporter_type 332 non-null object \n", - " 5 period_year_month 332 non-null object \n", - " 6 period_year 332 non-null int64 \n", - " 7 period_month 332 non-null int64 \n", - " 8 uza_name 332 non-null object \n", - " 9 primary_uza_code 332 non-null object \n", - " 10 _3_mode 332 non-null object \n", - " 11 mode_name 332 non-null object \n", - " 12 service_type 332 non-null object \n", - " 13 Status 332 non-null object \n", - " 14 upt 166 non-null float64 \n", - " 15 vrm 166 non-null float64 \n", - " 16 vrh 166 non-null float64 \n", - " 17 voms 166 non-null float64 \n", - " 18 _dt 332 non-null object \n", - " 19 RTPA 332 non-null object \n", - " 20 _merge 332 non-null category\n", - " 21 previous_y_m_upt 166 non-null float64 \n", - " 22 change_1yr 166 non-null float64 \n", - " 23 pct_change_1yr 166 non-null float64 \n", - " 24 Mode 332 non-null object \n", - " 25 TOS 332 non-null object \n", - "dtypes: category(1), float64(7), int64(2), object(16)\n", - "memory usage: 67.9+ KB\n" - ] - } - ], + "outputs": [], "source": [ "df.info()" ] }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "id": "bf36cb45-9594-4b4f-a8f0-39be6e5a450c", "metadata": {}, "outputs": [], @@ -232,7 +171,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "id": "804b1166-9261-4cb9-8bde-b5e0f95c628d", "metadata": {}, "outputs": [], @@ -273,7 +212,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "id": "cfc7efc0-03b4-4917-8277-d897c8a1779e", "metadata": {}, "outputs": [], @@ -314,7 +253,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "id": "f52e71b2-1ad8-4713-9500-9f97cbcfc2c2", "metadata": {}, "outputs": [], @@ -356,7 +295,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": null, "id": "d8b92608-f81b-452b-916a-72285d67b392", "metadata": {}, "outputs": [], @@ -384,7 +323,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "id": "6db38c9c-47b8-4887-a9fc-cf82c2c4eea5", "metadata": {}, "outputs": [], @@ -411,7 +350,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "id": "2d299cdb-21ba-4bf6-b6fb-3d64f02d59e5", "metadata": {}, "outputs": [], @@ -441,7 +380,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "id": "1bca9016-0024-44e0-b0a0-e11a313ca308", "metadata": {}, "outputs": [], @@ -459,7 +398,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "id": "1606b9e3-1311-40ea-aec8-1fa4ac0c2522", "metadata": {}, "outputs": [], @@ -480,7 +419,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "id": "53510310-eaea-400d-af32-20f4c8773514", "metadata": {}, "outputs": [], @@ -522,7 +461,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": null, "id": "f59f697a-912a-4dfe-bcac-02c9fc50b55d", "metadata": {}, "outputs": [], @@ -579,7 +518,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "id": "118b82e3-59f7-4ad4-81da-208fbcfa8280", "metadata": {}, "outputs": [], @@ -603,7 +542,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": null, "id": "413d77c9-b2cc-4847-9039-aa4d0caa64de", "metadata": { "tags": [] @@ -641,28 +580,10 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": null, "id": "e4214ddd-c5b6-407f-9287-0573669adf4f", "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "\n", - "Within Butte County Association of Governments:\n", - "- Number of Agencies/Operators: 2.\n", - "- Total Unlinked Passenger Trips since 2018: 5,085,443.0.\n", - "- Individual agency/operator ridership breakdown:\n" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "Markdown(f\"\"\"\n", "Within {rtpa}:\n", @@ -674,154 +595,50 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": null, "id": "6b849d54-f0a5-47b1-84ef-a669c5258261", "metadata": { "tags": [] }, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " agency\n", - " total_upt\n", - " pct_of_total_upt\n", - " \n", - " \n", - " \n", - " \n", - " 0\n", - " Butte County Association of Governments\n", - " 5085443\n", - " 100.0\n", - " \n", - " \n", - " 1\n", - " Chico Area Transit System City of Chico\n", - " 0\n", - " 0.0\n", - " \n", - " \n", - "\n", - "" - ], - "text/plain": [ - " agency total_upt pct_of_total_upt\n", - "0 Butte County Association of Governments 5085443 100.0\n", - "1 Chico Area Transit System City of Chico 0 0.0" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "display(agency_agg_yr.reset_index(drop=True))" ] }, { "cell_type": "code", - "execution_count": 34, + "execution_count": null, + "id": "2714c6eb-c1ea-4bbd-be69-cfc5dd16aa75", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "df_html= agency_agg_yr.reset_index(drop=True).to_html()\n", + "\n", + "print(df_html)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "38030feb-70e6-402f-8b77-3242076c0bc9", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "df_markdown= agency_agg_yr.reset_index(drop=True).to_markdown()\n", + "\n", + "print(df_markdown)" + ] + }, + { + "cell_type": "code", + "execution_count": null, "id": "7e5b1217-5c1d-4795-9eef-c25b245c9af3", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 34, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "tooltip_list = [\"agency\",\"total_upt\",\"pct_of_total_upt\"]\n", "\n", @@ -834,89 +651,10 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": null, "id": "da59f86f-ba3c-4398-95ad-ad84e0ada732", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 24, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_pie_chart(agency_agg_yr, col = \"total_upt\", color_col=\"agency\")\n" ] @@ -931,89 +669,10 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": null, "id": "c068b244-f4c2-4ae7-9153-d2724ee9f5c2", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 25, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_line_chart(by_agency_long, y_col = \"upt\", color_col = \"agency\")" ] @@ -1028,89 +687,10 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": null, "id": "24462fe7-2af4-4023-9a88-0cc665ce763a", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 26, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "# TEST OF BAR CHART WITH % CHANGE 1 YEAR\n", "make_bar_chart(by_agency_long_no_zero_upt[by_agency_long_no_zero_upt[\"period_year\"] >= 2018], \n", @@ -1120,178 +700,20 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": null, "id": "ddd1a017-0907-4a9c-826d-edd958418c26", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 27, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_bar_chart(by_agency_long_no_zero_upt[by_agency_long_no_zero_upt[\"period_year\"] >= 2024], y_col = \"change_1yr\", color_col = \"agency\")" ] }, { "cell_type": "code", - "execution_count": 28, + "execution_count": null, "id": "fd64bce0-577f-498e-9be8-4d664bfc47d1", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 28, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_bar_chart(by_agency_long_no_zero_upt, y_col = \"change_1yr\", color_col = \"agency\")" ] @@ -1306,178 +728,20 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": null, "id": "6d132a31-971d-44f2-a1aa-d60b2cf055f6", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 29, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_line_chart(by_mode_long, y_col = \"upt\", color_col = \"Mode\")" ] }, { "cell_type": "code", - "execution_count": 30, + "execution_count": null, "id": "a2d861b0-6baa-4d7c-89eb-4b686a77ba3e", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 30, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_bar_chart(by_mode_long[by_mode_long[\"period_year\"] >= 2024], y_col = \"change_1yr\", color_col = \"Mode\")" ] @@ -1492,178 +756,20 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": null, "id": "e9999254-f07b-4041-a474-880a2b026434", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 31, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_line_chart(by_tos_long, y_col = \"upt\", color_col = \"TOS\")" ] }, { "cell_type": "code", - "execution_count": 32, + "execution_count": null, "id": "3c147008-7d5f-473a-886b-65bbd030de5b", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 32, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_bar_chart(by_tos_long[by_tos_long[\"period_year\"] >= 2024], y_col = \"change_1yr\", color_col = \"TOS\")" ] @@ -1693,7 +799,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.13" + "version": "3.11.6" } }, "nbformat": 4, diff --git a/ntd/monthly_ridership_report.ipynb b/ntd/monthly_ridership_report.ipynb index d5842339f..eaee1b31d 100644 --- a/ntd/monthly_ridership_report.ipynb +++ b/ntd/monthly_ridership_report.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "15e15e64-5776-4b05-813d-22d1d58379d8", "metadata": {}, "outputs": [], @@ -13,7 +13,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "39433d1d-c54e-475c-878e-78c992d0eb58", "metadata": {}, "outputs": [], @@ -39,7 +39,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "798b9f83-ee62-489d-bc7c-9d1542af0a29", "metadata": { "tags": [ @@ -54,18 +54,10 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "f649dd2e-d38b-439c-94cd-a7480dc77511", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{\"rtpa\": \"Metropolitan Transportation Commission\"}\n" - ] - } - ], + "outputs": [], "source": [ "%%capture_parameters\n", "rtpa" @@ -86,33 +78,17 @@ "If a Reporter is not a monthly reporter, or has not reported data since 2018, they will not appear in the report.\n", "\n", "Examples: \n", - "- Reporter A is an urban full reporter from 2019-2022, then became a reduced reporter for 2023. Reporter A's ridership data will be displayed for 2019-2022 only.\n", - "- Reporter B is an urban full reporter from 2000-2017, then became a reduced reporter for 2018. Reporter B will be named in the report, but will not display ridership data.\n", - "- Reporter C was a reduced reporter form 2015-2020, then became an urban full reporter and began submitting monthly ridership data to NTD for 2021. Reporter C's ridership data will be displayed for 2021-present." + "- **Reporter A** is an urban full reporter from 2019-2022, then became a reduced reporter for 2023. Reporter A's ridership data will be displayed for 2019-2022 only.\n", + "- **Reporter B** is an urban full reporter from 2000-2017, then became a reduced reporter for 2018. Reporter B will be named in the report, but will not display ridership data.\n", + "- **Reporter C** was a reduced reporter form 2015-2020, then became an urban full reporter and began submitting monthly ridership data to NTD for 2021. Reporter C's ridership data will be displayed for 2021-present." ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "937118f4-c4b3-4702-8ea2-ec43c5b7bd10", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - " \n", - " Download the latest month of data: 2024_November.zip\n", - " " - ], - "text/plain": [ - "" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "URL = (\"https://console.cloud.google.com/storage/\"\n", " \"browser/calitp-publish-data-analysis\"\n", @@ -130,7 +106,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "cf017b79-26d5-455b-8c99-e9ba27d2dd77", "metadata": {}, "outputs": [], @@ -149,7 +125,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "id": "d8b92608-f81b-452b-916a-72285d67b392", "metadata": {}, "outputs": [], @@ -175,7 +151,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "id": "5aeecbb1-10b7-4f42-8e4c-3e8007bd91de", "metadata": {}, "outputs": [], @@ -202,7 +178,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "id": "fef38895-9cd0-4011-b702-2faa0a142445", "metadata": {}, "outputs": [], @@ -228,7 +204,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "id": "1606b9e3-1311-40ea-aec8-1fa4ac0c2522", "metadata": {}, "outputs": [], @@ -249,7 +225,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "id": "53510310-eaea-400d-af32-20f4c8773514", "metadata": {}, "outputs": [], @@ -291,7 +267,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": null, "id": "f59f697a-912a-4dfe-bcac-02c9fc50b55d", "metadata": {}, "outputs": [], @@ -348,7 +324,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "id": "8b84d1da-ce6e-4d95-9313-17179a7ef114", "metadata": {}, "outputs": [], @@ -362,7 +338,7 @@ " color=color_col,\n", " tooltip = [\"agency\",\"total_upt\",\"pct_of_total_upt\"]\n", " ).properties(\n", - " title=f\"Total Unlinked Passenger Trips per agency in RTPA since {MIN_YEAR}\",\n", + " title=f\"Total Unlinked Passenger Trips per Reporter in RTPA since {MIN_YEAR}\",\n", "\n", " )\n", "\n", @@ -371,7 +347,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "id": "aa6a8585-114c-431e-a6a1-1673a1395b6d", "metadata": {}, "outputs": [], @@ -388,7 +364,7 @@ " cp.CALITP_CATEGORY_BOLD_COLORS\n", " ))\n", " ).properties(\n", - " title=f\"Total Unlinked Passenger Trips per agency in RTPA since {MIN_YEAR}\",\n", + " title=f\"Total Unlinked Passenger Trips per Reporter in RTPA since {MIN_YEAR}\",\n", " width = WIDTH, \n", " height = HEIGHT,\n", " ).resolve_scale(y=\"independent\").interactive()\n", @@ -406,28 +382,10 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "id": "543d5447-06a5-47a9-8aeb-fa3dd83aef5d", "metadata": {}, - "outputs": [ - { - "data": { - "text/markdown": [ - "\n", - "Within Metropolitan Transportation Commission:\n", - "- Number of Agencies/Operators: 28.\n", - "- Total Unlinked Passenger Trips since 2018: 2,213,793,549.0.\n", - "- Individual agency/operator ridership breakdown:\n" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 15, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "Markdown(f\"\"\"\n", "Within {rtpa}:\n", @@ -439,89 +397,20 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, + "id": "f1dd6c3e-35e1-4ec6-9292-6daa0d64b7f2", + "metadata": {}, + "outputs": [], + "source": [ + "display(agency_agg_yr.reset_index(drop=True))" + ] + }, + { + "cell_type": "code", + "execution_count": null, "id": "e4e63f63-a00a-4e11-b5cc-13d6a8e0bbc9", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 16, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "tooltip_list = [\"agency\",\"total_upt\",\"pct_of_total_upt\"]\n", "\n", @@ -537,94 +426,15 @@ "id": "ba59c380-aa2f-4fd2-a18b-f75e18074abc", "metadata": {}, "source": [ - "### Transit Agency" + "### Reporter" ] }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "id": "c068b244-f4c2-4ae7-9153-d2724ee9f5c2", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 17, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_line_chart(by_agency_long, y_col = \"upt\", color_col = \"agency\")" ] @@ -639,89 +449,10 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": null, "id": "24462fe7-2af4-4023-9a88-0cc665ce763a", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 18, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_bar_chart(by_agency_long_no_zero_upt, y_col = \"change_1yr\", color_col = \"agency\")" ] @@ -736,178 +467,20 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "id": "6d132a31-971d-44f2-a1aa-d60b2cf055f6", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 19, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_line_chart(by_mode_long, y_col = \"upt\", color_col = \"Mode\")" ] }, { "cell_type": "code", - "execution_count": 20, + "execution_count": null, "id": "a2d861b0-6baa-4d7c-89eb-4b686a77ba3e", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 20, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_bar_chart(by_mode_long, y_col = \"change_1yr\", color_col = \"Mode\")" ] @@ -922,178 +495,20 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": null, "id": "e9999254-f07b-4041-a474-880a2b026434", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_line_chart(by_tos_long, y_col = \"upt\", color_col = \"TOS\")" ] }, { "cell_type": "code", - "execution_count": 22, + "execution_count": null, "id": "3c147008-7d5f-473a-886b-65bbd030de5b", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 22, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_bar_chart(by_tos_long, y_col = \"change_1yr\", color_col = \"TOS\")" ] @@ -1123,7 +538,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.13" + "version": "3.11.6" } }, "nbformat": 4, diff --git a/portfolio/ntd_monthly_ridership/rtpa_alpine-county-transportation-commission/00__monthly_ridership_report__rtpa_alpine-county-transportation-commission.ipynb b/portfolio/ntd_monthly_ridership/rtpa_alpine-county-transportation-commission/00__monthly_ridership_report__rtpa_alpine-county-transportation-commission.ipynb index 4c758a3a4..def26ca53 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_alpine-county-transportation-commission/00__monthly_ridership_report__rtpa_alpine-county-transportation-commission.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_alpine-county-transportation-commission/00__monthly_ridership_report__rtpa_alpine-county-transportation-commission.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bbb82afdaa80e2e4795ee49e04ded9844ccbe04d9d635960f57df09ea72d94e1 -size 68732 +oid sha256:335c49812ebe3da0f215c3e6ffc46f18f8cfeaf5267f161c31ea42e6beb1497f +size 70566 diff --git a/portfolio/ntd_monthly_ridership/rtpa_butte-county-association-of-governments/00__monthly_ridership_report__rtpa_butte-county-association-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_butte-county-association-of-governments/00__monthly_ridership_report__rtpa_butte-county-association-of-governments.ipynb index 67b78eab0..ed1ab3c89 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_butte-county-association-of-governments/00__monthly_ridership_report__rtpa_butte-county-association-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_butte-county-association-of-governments/00__monthly_ridership_report__rtpa_butte-county-association-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42264358b644e065f2c59101521dc17cb5111de1d3fdff144e2a0f9c51504ae9 -size 258822 +oid sha256:a4835ded8c8a7024db0356d460766073acb2cb80490b8fd1ee5721f4cf371b3c +size 261196 diff --git a/portfolio/ntd_monthly_ridership/rtpa_el-dorado-county-transportation-commission/00__monthly_ridership_report__rtpa_el-dorado-county-transportation-commission.ipynb b/portfolio/ntd_monthly_ridership/rtpa_el-dorado-county-transportation-commission/00__monthly_ridership_report__rtpa_el-dorado-county-transportation-commission.ipynb index f3f9bfd7f..fce7bd477 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_el-dorado-county-transportation-commission/00__monthly_ridership_report__rtpa_el-dorado-county-transportation-commission.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_el-dorado-county-transportation-commission/00__monthly_ridership_report__rtpa_el-dorado-county-transportation-commission.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4b7e65106ee694599b36a0bfc45bbd2e0d2654dd114cf64dbc5498ab4b33699d -size 186659 +oid sha256:25ba7d36a2df4f95cde3832e21cda4ffc53fc89b9832b88b0f33ca9bcad4f70e +size 188739 diff --git a/portfolio/ntd_monthly_ridership/rtpa_fresno-county-council-of-governments/00__monthly_ridership_report__rtpa_fresno-county-council-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_fresno-county-council-of-governments/00__monthly_ridership_report__rtpa_fresno-county-council-of-governments.ipynb index 802ce2490..d3080be38 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_fresno-county-council-of-governments/00__monthly_ridership_report__rtpa_fresno-county-council-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_fresno-county-council-of-governments/00__monthly_ridership_report__rtpa_fresno-county-council-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e41ba81b1ecf9eec060d15192a0cdfddb26e1cb1e48c011bda3efc4b961513c5 -size 305648 +oid sha256:8edcb814d106baeb7ca1d6c6f64c56dc51d4b1b9f77a5a29cbfcaf229dde2045 +size 307910 diff --git a/portfolio/ntd_monthly_ridership/rtpa_imperial-county-transportation-commission/00__monthly_ridership_report__rtpa_imperial-county-transportation-commission.ipynb b/portfolio/ntd_monthly_ridership/rtpa_imperial-county-transportation-commission/00__monthly_ridership_report__rtpa_imperial-county-transportation-commission.ipynb index eeaf8e0dc..0a5c1e869 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_imperial-county-transportation-commission/00__monthly_ridership_report__rtpa_imperial-county-transportation-commission.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_imperial-county-transportation-commission/00__monthly_ridership_report__rtpa_imperial-county-transportation-commission.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ec669568bec599c41ffad8b3969d1915288b57fb36cc559580cf6423066c7094 -size 260551 +oid sha256:165d5611477a19a6355cd8396cdb28bb4cb906b8d2e1eadf3b0d40e57c3ab808 +size 262918 diff --git a/portfolio/ntd_monthly_ridership/rtpa_kern-council-of-governments/00__monthly_ridership_report__rtpa_kern-council-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_kern-council-of-governments/00__monthly_ridership_report__rtpa_kern-council-of-governments.ipynb index 09cf26d0d..6938b8032 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_kern-council-of-governments/00__monthly_ridership_report__rtpa_kern-council-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_kern-council-of-governments/00__monthly_ridership_report__rtpa_kern-council-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f3ae2724c0db9180f9ca50e0007f56ffe6fcf69ec8f6902e137aad450138ea92 -size 284227 +oid sha256:59b78b56f7459fdf93fc946c15f28a41b5c274dc1af747262dbf5f502e004022 +size 286557 diff --git a/portfolio/ntd_monthly_ridership/rtpa_kings-county-association-of-governments/00__monthly_ridership_report__rtpa_kings-county-association-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_kings-county-association-of-governments/00__monthly_ridership_report__rtpa_kings-county-association-of-governments.ipynb index f24967918..ad04da1ce 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_kings-county-association-of-governments/00__monthly_ridership_report__rtpa_kings-county-association-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_kings-county-association-of-governments/00__monthly_ridership_report__rtpa_kings-county-association-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:31cc310db8797351fe9078afc3932396ad09aaf3f76a922e8a22534e187af7e9 -size 400611 +oid sha256:e064bda3f0226fd87f60e85f8e958d5b5153460a0cd64df820418b1cc6095c92 +size 402990 diff --git a/portfolio/ntd_monthly_ridership/rtpa_los-angeles-county-metropolitan-transportation-authority/00__monthly_ridership_report__rtpa_los-angeles-county-metropolitan-transportation-authority.ipynb b/portfolio/ntd_monthly_ridership/rtpa_los-angeles-county-metropolitan-transportation-authority/00__monthly_ridership_report__rtpa_los-angeles-county-metropolitan-transportation-authority.ipynb index 8a4b988c7..73e082e22 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_los-angeles-county-metropolitan-transportation-authority/00__monthly_ridership_report__rtpa_los-angeles-county-metropolitan-transportation-authority.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_los-angeles-county-metropolitan-transportation-authority/00__monthly_ridership_report__rtpa_los-angeles-county-metropolitan-transportation-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8cf10d0da126e794976561d2a085a1635c43f4dfe71a7f82abc05739749a0520 -size 1738139 +oid sha256:da479241e84fddbeda82014b8404acf76cf88b107434acb37caf3fdc7598f106 +size 1747008 diff --git a/portfolio/ntd_monthly_ridership/rtpa_merced-county-association-of-governments/00__monthly_ridership_report__rtpa_merced-county-association-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_merced-county-association-of-governments/00__monthly_ridership_report__rtpa_merced-county-association-of-governments.ipynb index 1f7a87391..68cdf5fb2 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_merced-county-association-of-governments/00__monthly_ridership_report__rtpa_merced-county-association-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_merced-county-association-of-governments/00__monthly_ridership_report__rtpa_merced-county-association-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:374b3fac274a376d44c77e89791a55ac3e652f8ce996df2b93df821b545ef40d -size 282812 +oid sha256:69c222e859158b65832cbced609899be2f00a0865c1de909b4b28c21ad059c78 +size 284987 diff --git a/portfolio/ntd_monthly_ridership/rtpa_metropolitan-transportation-commission/00__monthly_ridership_report__rtpa_metropolitan-transportation-commission.ipynb b/portfolio/ntd_monthly_ridership/rtpa_metropolitan-transportation-commission/00__monthly_ridership_report__rtpa_metropolitan-transportation-commission.ipynb index 3b8f0f951..8711bcff3 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_metropolitan-transportation-commission/00__monthly_ridership_report__rtpa_metropolitan-transportation-commission.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_metropolitan-transportation-commission/00__monthly_ridership_report__rtpa_metropolitan-transportation-commission.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aff2602048480b0d9638a572b03ae2567e470c5f91296d1cacef108ead807419 -size 1968803 +oid sha256:180c1cb46185009e4562de34c5a7223d9642f1258d750425e80c1d4316906306 +size 1979457 diff --git a/portfolio/ntd_monthly_ridership/rtpa_orange-county-transportation-authority/00__monthly_ridership_report__rtpa_orange-county-transportation-authority.ipynb b/portfolio/ntd_monthly_ridership/rtpa_orange-county-transportation-authority/00__monthly_ridership_report__rtpa_orange-county-transportation-authority.ipynb index 795bafc7f..d2d68d0a5 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_orange-county-transportation-authority/00__monthly_ridership_report__rtpa_orange-county-transportation-authority.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_orange-county-transportation-authority/00__monthly_ridership_report__rtpa_orange-county-transportation-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ba591f9fd48d26a16debc8b104748dd14148a874419df9a8509c7bc05300c4ba -size 490171 +oid sha256:153a9da41fa66eb2210c45db97f075b538b46df5b8222cab77d29292c2caf92d +size 492810 diff --git a/portfolio/ntd_monthly_ridership/rtpa_placer-county-transportation-planning-agency/00__monthly_ridership_report__rtpa_placer-county-transportation-planning-agency.ipynb b/portfolio/ntd_monthly_ridership/rtpa_placer-county-transportation-planning-agency/00__monthly_ridership_report__rtpa_placer-county-transportation-planning-agency.ipynb index 0028692da..1f83989e0 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_placer-county-transportation-planning-agency/00__monthly_ridership_report__rtpa_placer-county-transportation-planning-agency.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_placer-county-transportation-planning-agency/00__monthly_ridership_report__rtpa_placer-county-transportation-planning-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a3b9b07992fcfde0932f393b9391aa58dde65ebf193712461646add78f767a16 -size 415708 +oid sha256:62c94fb91f48e619fb3712bc2c36ad34758302000f9685ec0c015a6c9599326c +size 417974 diff --git a/portfolio/ntd_monthly_ridership/rtpa_riverside-county-transportation-commission/00__monthly_ridership_report__rtpa_riverside-county-transportation-commission.ipynb b/portfolio/ntd_monthly_ridership/rtpa_riverside-county-transportation-commission/00__monthly_ridership_report__rtpa_riverside-county-transportation-commission.ipynb index 0975c3756..ebf8d3b51 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_riverside-county-transportation-commission/00__monthly_ridership_report__rtpa_riverside-county-transportation-commission.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_riverside-county-transportation-commission/00__monthly_ridership_report__rtpa_riverside-county-transportation-commission.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f89bed8ce91d7528a441b55a6a3a881104b823473492190c0846d6257eded747 -size 579289 +oid sha256:0b973e9874db45c5625f0438c361e15e1ae290aec98f64ceaff9bfc960774869 +size 582479 diff --git a/portfolio/ntd_monthly_ridership/rtpa_sacramento-area-council-of-governments/00__monthly_ridership_report__rtpa_sacramento-area-council-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_sacramento-area-council-of-governments/00__monthly_ridership_report__rtpa_sacramento-area-council-of-governments.ipynb index 4b13f89e5..d1fe665e5 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_sacramento-area-council-of-governments/00__monthly_ridership_report__rtpa_sacramento-area-council-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_sacramento-area-council-of-governments/00__monthly_ridership_report__rtpa_sacramento-area-council-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1774dfe587fa20b5040e930158374d742a5bc04ae6083c221b77c57f199181f4 -size 664556 +oid sha256:910ee45191c6b3d547d8d2f7321bd76b581efbf0910241732447a123d3701345 +size 668924 diff --git a/portfolio/ntd_monthly_ridership/rtpa_san-bernardino-county-transportation-authority/00__monthly_ridership_report__rtpa_san-bernardino-county-transportation-authority.ipynb b/portfolio/ntd_monthly_ridership/rtpa_san-bernardino-county-transportation-authority/00__monthly_ridership_report__rtpa_san-bernardino-county-transportation-authority.ipynb index ac8e1bd19..fcc7693f7 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_san-bernardino-county-transportation-authority/00__monthly_ridership_report__rtpa_san-bernardino-county-transportation-authority.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_san-bernardino-county-transportation-authority/00__monthly_ridership_report__rtpa_san-bernardino-county-transportation-authority.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b193f464464cbbc33a3e68b02fe9e27f7f77459990d257e71c1132a31e43c1f6 -size 500595 +oid sha256:01f4eeefb094ae4f264512ee7d4fa9363553d7a99d54d6a224df3d07ee16a9b7 +size 503269 diff --git a/portfolio/ntd_monthly_ridership/rtpa_san-diego-association-of-governments/00__monthly_ridership_report__rtpa_san-diego-association-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_san-diego-association-of-governments/00__monthly_ridership_report__rtpa_san-diego-association-of-governments.ipynb index 48a34ef16..d1748d252 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_san-diego-association-of-governments/00__monthly_ridership_report__rtpa_san-diego-association-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_san-diego-association-of-governments/00__monthly_ridership_report__rtpa_san-diego-association-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e295cca8a49ffd0ce5ccf69a21fc03841894744de9392d00df55ab4dfb6fcfdf -size 670352 +oid sha256:3342b0e8174f6519e4c05cc8435fbbd19aa95d57b7c644f131fbb287d4cc5de6 +size 674339 diff --git a/portfolio/ntd_monthly_ridership/rtpa_san-joaquin-council-of-governments/00__monthly_ridership_report__rtpa_san-joaquin-council-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_san-joaquin-council-of-governments/00__monthly_ridership_report__rtpa_san-joaquin-council-of-governments.ipynb index 187ef12d8..80fa42621 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_san-joaquin-council-of-governments/00__monthly_ridership_report__rtpa_san-joaquin-council-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_san-joaquin-council-of-governments/00__monthly_ridership_report__rtpa_san-joaquin-council-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eeb955f3b2553220d3a4b29ea8adf03ec9b88ec8462cad4014198a8b165ffa04 -size 567132 +oid sha256:c4b1cb9bbb93e283ec17d6066fa2a50dc2a38db6c98d5dad63ddf0815bd7c90c +size 570016 diff --git a/portfolio/ntd_monthly_ridership/rtpa_san-luis-obispo-council-of-governments/00__monthly_ridership_report__rtpa_san-luis-obispo-council-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_san-luis-obispo-council-of-governments/00__monthly_ridership_report__rtpa_san-luis-obispo-council-of-governments.ipynb index 6e326a42f..d4650ce34 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_san-luis-obispo-council-of-governments/00__monthly_ridership_report__rtpa_san-luis-obispo-council-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_san-luis-obispo-council-of-governments/00__monthly_ridership_report__rtpa_san-luis-obispo-council-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b00598b468d4cc0ef868e963766ef9c8765d62a3f98592883364123869550ff9 -size 424296 +oid sha256:050ef7a367d1ea6e80ae1bf575df68df1c12f6416d38cd455d7b662829b0eea9 +size 426955 diff --git a/portfolio/ntd_monthly_ridership/rtpa_santa-barbara-county-association-of-governments/00__monthly_ridership_report__rtpa_santa-barbara-county-association-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_santa-barbara-county-association-of-governments/00__monthly_ridership_report__rtpa_santa-barbara-county-association-of-governments.ipynb index 26355af2e..22d724a91 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_santa-barbara-county-association-of-governments/00__monthly_ridership_report__rtpa_santa-barbara-county-association-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_santa-barbara-county-association-of-governments/00__monthly_ridership_report__rtpa_santa-barbara-county-association-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5804a17cd7b4ec94b8427941dc8e9b674dbcc55a0775519fb9ca3499ca7efcce -size 305536 +oid sha256:d9d32396e7733fbc939afb6b59227c3d31ffa6427a08c1955560baf9599c4a7d +size 308317 diff --git a/portfolio/ntd_monthly_ridership/rtpa_santa-cruz-county-transportation-commission/00__monthly_ridership_report__rtpa_santa-cruz-county-transportation-commission.ipynb b/portfolio/ntd_monthly_ridership/rtpa_santa-cruz-county-transportation-commission/00__monthly_ridership_report__rtpa_santa-cruz-county-transportation-commission.ipynb index 985df979e..4209fbb8c 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_santa-cruz-county-transportation-commission/00__monthly_ridership_report__rtpa_santa-cruz-county-transportation-commission.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_santa-cruz-county-transportation-commission/00__monthly_ridership_report__rtpa_santa-cruz-county-transportation-commission.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:56484be55d1e0baedbf9e7c816fb20c12a9a34e820e2b477b09138a1c05df49c -size 351230 +oid sha256:98d04a7f8d52356743bac71f46317df4e07a265a1e99068721d57564dd70921c +size 353325 diff --git a/portfolio/ntd_monthly_ridership/rtpa_shasta-regional-transportation-agency/00__monthly_ridership_report__rtpa_shasta-regional-transportation-agency.ipynb b/portfolio/ntd_monthly_ridership/rtpa_shasta-regional-transportation-agency/00__monthly_ridership_report__rtpa_shasta-regional-transportation-agency.ipynb index 379b2612b..1f185c4aa 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_shasta-regional-transportation-agency/00__monthly_ridership_report__rtpa_shasta-regional-transportation-agency.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_shasta-regional-transportation-agency/00__monthly_ridership_report__rtpa_shasta-regional-transportation-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:07db735c2bc244c26b1edcc93da549d4fd4a4b2f692c594798b1fd2d57423681 -size 233349 +oid sha256:f67eece69840e70c742bd75d7ed99a02382b851f738243e25fd1df635f8e9ace +size 235402 diff --git a/portfolio/ntd_monthly_ridership/rtpa_stanislaus-council-of-governments/00__monthly_ridership_report__rtpa_stanislaus-council-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_stanislaus-council-of-governments/00__monthly_ridership_report__rtpa_stanislaus-council-of-governments.ipynb index b88ed523a..974860985 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_stanislaus-council-of-governments/00__monthly_ridership_report__rtpa_stanislaus-council-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_stanislaus-council-of-governments/00__monthly_ridership_report__rtpa_stanislaus-council-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7d075e2f684ed5ecd4ea20bfead816a3c1c73b89f8ffebd1a0371eb8bae64330 -size 405384 +oid sha256:315f8555a71ab1d251b39d1a64028332285bd4adfde667ea42c2caf775f488e3 +size 408286 diff --git a/portfolio/ntd_monthly_ridership/rtpa_tahoe-regional-planning-agency/00__monthly_ridership_report__rtpa_tahoe-regional-planning-agency.ipynb b/portfolio/ntd_monthly_ridership/rtpa_tahoe-regional-planning-agency/00__monthly_ridership_report__rtpa_tahoe-regional-planning-agency.ipynb index c4edbd82d..a45cf3a75 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_tahoe-regional-planning-agency/00__monthly_ridership_report__rtpa_tahoe-regional-planning-agency.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_tahoe-regional-planning-agency/00__monthly_ridership_report__rtpa_tahoe-regional-planning-agency.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:61aeee4e31799646adc792a2349a9924391ecf623bb7c70cf1ce4ea301f64607 -size 329229 +oid sha256:523a8a2a1ad424388fab54a105fc1256849f080e8fdd3505e122472123e83a80 +size 331291 diff --git a/portfolio/ntd_monthly_ridership/rtpa_transportation-agency-for-monterey-county/00__monthly_ridership_report__rtpa_transportation-agency-for-monterey-county.ipynb b/portfolio/ntd_monthly_ridership/rtpa_transportation-agency-for-monterey-county/00__monthly_ridership_report__rtpa_transportation-agency-for-monterey-county.ipynb index 185e33bf3..bdce4ead2 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_transportation-agency-for-monterey-county/00__monthly_ridership_report__rtpa_transportation-agency-for-monterey-county.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_transportation-agency-for-monterey-county/00__monthly_ridership_report__rtpa_transportation-agency-for-monterey-county.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fc5bf2bedfb2efc277f3d2fa6c2e62b0af986f1c96020267feb21570f7dea19a -size 386918 +oid sha256:404c40f52ef7a4040420b461fafc028e55150b5f6934eb15b51c995251d2f319 +size 388965 diff --git a/portfolio/ntd_monthly_ridership/rtpa_tulare-county-association-of-governments/00__monthly_ridership_report__rtpa_tulare-county-association-of-governments.ipynb b/portfolio/ntd_monthly_ridership/rtpa_tulare-county-association-of-governments/00__monthly_ridership_report__rtpa_tulare-county-association-of-governments.ipynb index c419c0169..89ee91fa2 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_tulare-county-association-of-governments/00__monthly_ridership_report__rtpa_tulare-county-association-of-governments.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_tulare-county-association-of-governments/00__monthly_ridership_report__rtpa_tulare-county-association-of-governments.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2617f8738bd44459b2873e9c500869ecb5d1f51bcb4e58ad06461a909fc56842 -size 348683 +oid sha256:333500cffdb915482fadae240ac90667f94128fb9935710901f771a0414c3e89 +size 351561 diff --git a/portfolio/ntd_monthly_ridership/rtpa_ventura-county-transportation-commission/00__monthly_ridership_report__rtpa_ventura-county-transportation-commission.ipynb b/portfolio/ntd_monthly_ridership/rtpa_ventura-county-transportation-commission/00__monthly_ridership_report__rtpa_ventura-county-transportation-commission.ipynb index 0a95e43cb..728e1bac5 100644 --- a/portfolio/ntd_monthly_ridership/rtpa_ventura-county-transportation-commission/00__monthly_ridership_report__rtpa_ventura-county-transportation-commission.ipynb +++ b/portfolio/ntd_monthly_ridership/rtpa_ventura-county-transportation-commission/00__monthly_ridership_report__rtpa_ventura-county-transportation-commission.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3c10e53f1d8caf0f8e4c8fbc7771d0d35536f55c6f0f89b7b33375b54419d96a -size 403102 +oid sha256:7f1d38c49add7f569648719a02b64da48ba4409402bf585efdbb011550c8fb93 +size 406013 diff --git a/rt_segment_speeds/segment_speed_utils/vp_transform.py b/rt_segment_speeds/segment_speed_utils/vp_transform.py index 01795b48c..5c2abbb99 100644 --- a/rt_segment_speeds/segment_speed_utils/vp_transform.py +++ b/rt_segment_speeds/segment_speed_utils/vp_transform.py @@ -20,7 +20,7 @@ def condense_point_geom_to_line( df: gpd.GeoDataFrame, group_cols: list, geom_col: str = "geometry", - array_cols: list: = [] + array_cols: list = [] ) -> gpd.GeoDataFrame: """ To apply nearest neighbors, we need to create our equivalent