From cb1f4c6fa9df33473ec57fb1914b65c45cf2abff Mon Sep 17 00:00:00 2001 From: csuyat-dot Date: Wed, 15 Jan 2025 22:36:39 +0000 Subject: [PATCH 1/3] fixed error from vp_transform.py, reran notebooks --- ntd/TEST_monthly_ridership_report.ipynb | 243 ++++++------ ntd/monthly_ridership_report.ipynb | 365 +++++++++++++++--- .../segment_speed_utils/vp_transform.py | 2 +- 3 files changed, 450 insertions(+), 160 deletions(-) diff --git a/ntd/TEST_monthly_ridership_report.ipynb b/ntd/TEST_monthly_ridership_report.ipynb index aeea6cbdc..0b2801d27 100644 --- a/ntd/TEST_monthly_ridership_report.ipynb +++ b/ntd/TEST_monthly_ridership_report.ipynb @@ -55,7 +55,8 @@ "source": [ "# parameters cell for local\n", "#rtpa = \"Metropolitan Transportation Commission\" # lots of reporters\n", - "rtpa = \"Butte County Association of Governments\" # 2 reporters " + "#rtpa = \"Butte County Association of Governments\" # 2 reporters \n", + "rtpa = \"San Joaquin Council of Governments\" # 4 reporters" ] }, { @@ -68,7 +69,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "{\"rtpa\": \"Butte County Association of Governments\"}\n" + "{\"rtpa\": \"San Joaquin Council of Governments\"}\n" ] } ], @@ -164,38 +165,38 @@ "output_type": "stream", "text": [ "\n", - "Int64Index: 332 entries, 23658 to 87718\n", + "Int64Index: 1079 entries, 2 to 84145\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", + " 0 key 1079 non-null object \n", + " 1 ntd_id 1079 non-null object \n", + " 2 legacy_ntd_id 996 non-null object \n", + " 3 agency 1079 non-null object \n", + " 4 reporter_type 1079 non-null object \n", + " 5 period_year_month 1079 non-null object \n", + " 6 period_year 1079 non-null int64 \n", + " 7 period_month 1079 non-null int64 \n", + " 8 uza_name 1079 non-null object \n", + " 9 primary_uza_code 1079 non-null object \n", + " 10 _3_mode 1079 non-null object \n", + " 11 mode_name 1079 non-null object \n", + " 12 service_type 1079 non-null object \n", + " 13 Status 1079 non-null object \n", + " 14 upt 534 non-null float64 \n", + " 15 vrm 534 non-null float64 \n", + " 16 vrh 534 non-null float64 \n", + " 17 voms 534 non-null float64 \n", + " 18 _dt 1079 non-null object \n", + " 19 RTPA 1079 non-null object \n", + " 20 _merge 1079 non-null category\n", + " 21 previous_y_m_upt 526 non-null float64 \n", + " 22 change_1yr 485 non-null float64 \n", + " 23 pct_change_1yr 485 non-null float64 \n", + " 24 Mode 1079 non-null object \n", + " 25 TOS 1079 non-null object \n", "dtypes: category(1), float64(7), int64(2), object(16)\n", - "memory usage: 67.9+ KB\n" + "memory usage: 220.4+ KB\n" ] } ], @@ -603,7 +604,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 20, "id": "413d77c9-b2cc-4847-9039-aa4d0caa64de", "metadata": { "tags": [] @@ -649,9 +650,9 @@ "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", + "Within San Joaquin Council of Governments:\n", + "- Number of Agencies/Operators: 4.\n", + "- Total Unlinked Passenger Trips since 2018: 26,749,474.0.\n", "- Individual agency/operator ridership breakdown:\n" ], "text/plain": [ @@ -709,24 +710,38 @@ " \n", " \n", " 0\n", - " Butte County Association of Governments\n", - " 5085443\n", - " 100.0\n", + " San Joaquin Regional Transit District\n", + " 17605808\n", + " 65.82\n", " \n", " \n", " 1\n", - " Chico Area Transit System City of Chico\n", + " Altamont Corridor Express\n", + " 5276728\n", + " 19.73\n", + " \n", + " \n", + " 2\n", + " San Joaquin Council\n", + " 3866938\n", + " 14.46\n", + " \n", + " \n", + " 3\n", + " City of Lodi\n", " 0\n", - " 0.0\n", + " 0.00\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" + " agency total_upt pct_of_total_upt\n", + "0 San Joaquin Regional Transit District 17605808 65.82\n", + "1 Altamont Corridor Express 5276728 19.73\n", + "2 San Joaquin Council 3866938 14.46\n", + "3 City of Lodi 0 0.00" ] }, "metadata": {}, @@ -739,7 +754,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 23, "id": "7e5b1217-5c1d-4795-9eef-c25b245c9af3", "metadata": {}, "outputs": [ @@ -748,23 +763,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.Chart(...)" ] }, - "execution_count": 34, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } @@ -843,23 +858,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ @@ -940,23 +955,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ @@ -1037,23 +1052,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ @@ -1129,23 +1144,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ @@ -1218,23 +1233,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ @@ -1315,23 +1330,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ @@ -1404,23 +1419,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ @@ -1501,23 +1516,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ @@ -1590,23 +1605,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ diff --git a/ntd/monthly_ridership_report.ipynb b/ntd/monthly_ridership_report.ipynb index d5842339f..880976158 100644 --- a/ntd/monthly_ridership_report.ipynb +++ b/ntd/monthly_ridership_report.ipynb @@ -415,9 +415,9 @@ "text/markdown": [ "\n", "Within Metropolitan Transportation Commission:\n", - "- Number of Agencies/Operators: 28.\n", + "- Number of Reporters: 28.\n", "- Total Unlinked Passenger Trips since 2018: 2,213,793,549.0.\n", - "- Individual agency/operator ridership breakdown:\n" + "- Individual Reporters ridership breakdown:\n" ], "text/plain": [ "" @@ -437,6 +437,281 @@ "\"\"\")" ] }, + { + "cell_type": "code", + "execution_count": 23, + "id": "f1dd6c3e-35e1-4ec6-9292-6daa0d64b7f2", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
agencytotal_uptpct_of_total_upt
0City and County of San Francisco104143851047.04
1San Francisco Bay Area Rapid Transit District46504651621.01
2Alameda-Contra Costa Transit District26868272712.14
3Santa Clara Valley Transportation Authority1776801198.03
4Peninsula Corridor Joint Powers Board656778872.97
5San Mateo County Transit District617842392.79
6Golden Gate Bridge, Highway and Transportation...216547200.98
7Marin County Transit District177553950.80
8Central Contra Costa Transit Authority177023900.80
9San Francisco Bay Area Water Emergency Transpo...140131940.63
10The Eastern Contra Costa Transit Authority97799980.44
11City of Santa Rosa95597220.43
12Livermore / Amador Valley Transit Authority83607050.38
13Solano County Transit65458620.30
14Western Contra Costa Transit Authority52371030.24
15County of Sonoma48913060.22
16Napa Valley Transportation Authority44333410.20
17Metropolitan Transportation Commission44292480.20
18Sonoma-Marin Area Rail Transit District40548840.18
19City of Fairfield, California33214200.15
20City of Petaluma17442630.08
21City of Vallejo Transportation Program00.00
22City of Vacaville00.00
23City of Union City00.00
24San Francisco Paratransit00.00
25City of Benicia00.00
26City of Alameda Ferry Services00.00
27ATC / Vancom00.00
\n", + "
" + ], + "text/plain": [ + " agency total_upt \\\n", + "0 City and County of San Francisco 1041438510 \n", + "1 San Francisco Bay Area Rapid Transit District 465046516 \n", + "2 Alameda-Contra Costa Transit District 268682727 \n", + "3 Santa Clara Valley Transportation Authority 177680119 \n", + "4 Peninsula Corridor Joint Powers Board 65677887 \n", + "5 San Mateo County Transit District 61784239 \n", + "6 Golden Gate Bridge, Highway and Transportation... 21654720 \n", + "7 Marin County Transit District 17755395 \n", + "8 Central Contra Costa Transit Authority 17702390 \n", + "9 San Francisco Bay Area Water Emergency Transpo... 14013194 \n", + "10 The Eastern Contra Costa Transit Authority 9779998 \n", + "11 City of Santa Rosa 9559722 \n", + "12 Livermore / Amador Valley Transit Authority 8360705 \n", + "13 Solano County Transit 6545862 \n", + "14 Western Contra Costa Transit Authority 5237103 \n", + "15 County of Sonoma 4891306 \n", + "16 Napa Valley Transportation Authority 4433341 \n", + "17 Metropolitan Transportation Commission 4429248 \n", + "18 Sonoma-Marin Area Rail Transit District 4054884 \n", + "19 City of Fairfield, California 3321420 \n", + "20 City of Petaluma 1744263 \n", + "21 City of Vallejo Transportation Program 0 \n", + "22 City of Vacaville 0 \n", + "23 City of Union City 0 \n", + "24 San Francisco Paratransit 0 \n", + "25 City of Benicia 0 \n", + "26 City of Alameda Ferry Services 0 \n", + "27 ATC / Vancom 0 \n", + "\n", + " pct_of_total_upt \n", + "0 47.04 \n", + "1 21.01 \n", + "2 12.14 \n", + "3 8.03 \n", + "4 2.97 \n", + "5 2.79 \n", + "6 0.98 \n", + "7 0.80 \n", + "8 0.80 \n", + "9 0.63 \n", + "10 0.44 \n", + "11 0.43 \n", + "12 0.38 \n", + "13 0.30 \n", + "14 0.24 \n", + "15 0.22 \n", + "16 0.20 \n", + "17 0.20 \n", + "18 0.18 \n", + "19 0.15 \n", + "20 0.08 \n", + "21 0.00 \n", + "22 0.00 \n", + "23 0.00 \n", + "24 0.00 \n", + "25 0.00 \n", + "26 0.00 \n", + "27 0.00 " + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "display(agency_agg_yr.reset_index(drop=True))" + ] + }, { "cell_type": "code", "execution_count": 16, @@ -448,23 +723,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ @@ -551,23 +826,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.Chart(...)" ] }, - "execution_count": 23, + "execution_count": 25, "metadata": {}, "output_type": "execute_result" } @@ -849,7 +1301,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 26, "id": "da59f86f-ba3c-4398-95ad-ad84e0ada732", "metadata": {}, "outputs": [ @@ -858,23 +1310,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.Chart(...)" ] }, - "execution_count": 24, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } @@ -946,7 +1398,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 27, "id": "c068b244-f4c2-4ae7-9153-d2724ee9f5c2", "metadata": {}, "outputs": [ @@ -955,23 +1407,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.FacetChart(...)" ] }, - "execution_count": 25, + "execution_count": 27, "metadata": {}, "output_type": "execute_result" } @@ -1043,7 +1495,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 28, "id": "24462fe7-2af4-4023-9a88-0cc665ce763a", "metadata": {}, "outputs": [ @@ -1052,23 +1504,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.FacetChart(...)" ] }, - "execution_count": 26, + "execution_count": 28, "metadata": {}, "output_type": "execute_result" } @@ -1135,7 +1587,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 29, "id": "ddd1a017-0907-4a9c-826d-edd958418c26", "metadata": {}, "outputs": [ @@ -1144,23 +1596,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.FacetChart(...)" ] }, - "execution_count": 27, + "execution_count": 29, "metadata": {}, "output_type": "execute_result" } @@ -1224,7 +1676,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 30, "id": "fd64bce0-577f-498e-9be8-4d664bfc47d1", "metadata": {}, "outputs": [ @@ -1233,23 +1685,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.FacetChart(...)" ] }, - "execution_count": 28, + "execution_count": 30, "metadata": {}, "output_type": "execute_result" } @@ -1321,7 +1773,7 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": 31, "id": "6d132a31-971d-44f2-a1aa-d60b2cf055f6", "metadata": {}, "outputs": [ @@ -1330,23 +1782,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.FacetChart(...)" ] }, - "execution_count": 29, + "execution_count": 31, "metadata": {}, "output_type": "execute_result" } @@ -1410,7 +1862,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 32, "id": "a2d861b0-6baa-4d7c-89eb-4b686a77ba3e", "metadata": {}, "outputs": [ @@ -1419,23 +1871,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.FacetChart(...)" ] }, - "execution_count": 30, + "execution_count": 32, "metadata": {}, "output_type": "execute_result" } @@ -1507,7 +1959,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 33, "id": "e9999254-f07b-4041-a474-880a2b026434", "metadata": {}, "outputs": [ @@ -1516,23 +1968,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.FacetChart(...)" ] }, - "execution_count": 31, + "execution_count": 33, "metadata": {}, "output_type": "execute_result" } @@ -1596,7 +2048,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 34, "id": "3c147008-7d5f-473a-886b-65bbd030de5b", "metadata": {}, "outputs": [ @@ -1605,23 +2057,23 @@ "text/html": [ "\n", "\n", - "
\n", + "
\n", "" ], "text/plain": [ "alt.FacetChart(...)" ] }, - "execution_count": 32, + "execution_count": 34, "metadata": {}, "output_type": "execute_result" } @@ -1708,7 +2160,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 880976158..49340a89e 100644 --- a/ntd/monthly_ridership_report.ipynb +++ b/ntd/monthly_ridership_report.ipynb @@ -86,9 +86,9 @@ "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." ] }, { @@ -1398,7 +1398,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.13" + "version": "3.11.6" } }, "nbformat": 4, From 9438e2cf9782e9db218dde8daa0bc9889d808d0a Mon Sep 17 00:00:00 2001 From: csuyat-dot Date: Thu, 16 Jan 2025 22:16:33 +0000 Subject: [PATCH 3/3] added dataframe to report totals section, updated agency to Reporter in some sections. agency is still mentioned in the charts themselves since that is the column name --- ntd/TEST_monthly_ridership_report.ipynb | 1465 +---------------- ntd/monthly_ridership_report.ipynb | 934 +---------- ...ine-county-transportation-commission.ipynb | 4 +- ...te-county-association-of-governments.ipynb | 4 +- ...ado-county-transportation-commission.ipynb | 4 +- ...fresno-county-council-of-governments.ipynb | 4 +- ...ial-county-transportation-commission.ipynb | 4 +- ...rt__rtpa_kern-council-of-governments.ipynb | 4 +- ...gs-county-association-of-governments.ipynb | 4 +- ...etropolitan-transportation-authority.ipynb | 4 +- ...ed-county-association-of-governments.ipynb | 4 +- ...tropolitan-transportation-commission.ipynb | 4 +- ...ange-county-transportation-authority.ipynb | 4 +- ...ounty-transportation-planning-agency.ipynb | 4 +- ...ide-county-transportation-commission.ipynb | 4 +- ...cramento-area-council-of-governments.ipynb | 4 +- ...dino-county-transportation-authority.ipynb | 4 +- ...san-diego-association-of-governments.ipynb | 4 +- ...a_san-joaquin-council-of-governments.ipynb | 4 +- ...n-luis-obispo-council-of-governments.ipynb | 4 +- ...ra-county-association-of-governments.ipynb | 4 +- ...ruz-county-transportation-commission.ipynb | 4 +- ...hasta-regional-transportation-agency.ipynb | 4 +- ...pa_stanislaus-council-of-governments.ipynb | 4 +- ..._rtpa_tahoe-regional-planning-agency.ipynb | 4 +- ...portation-agency-for-monterey-county.ipynb | 4 +- ...re-county-association-of-governments.ipynb | 4 +- ...ura-county-transportation-commission.ipynb | 4 +- 28 files changed, 141 insertions(+), 2362 deletions(-) diff --git a/ntd/TEST_monthly_ridership_report.ipynb b/ntd/TEST_monthly_ridership_report.ipynb index ed8665081..30de28eac 100644 --- a/ntd/TEST_monthly_ridership_report.ipynb +++ b/ntd/TEST_monthly_ridership_report.ipynb @@ -2,19 +2,19 @@ "cells": [ { "cell_type": "code", - "execution_count": 38, + "execution_count": null, "id": "15e15e64-5776-4b05-813d-22d1d58379d8", "metadata": {}, "outputs": [], "source": [ "import sys\n", "sys.path.append(\"../bus_service_increase\") \n", - "sys.path.append(\"../starter_kit\")" + "sys.path.append(\"../starter_kit\") # to test out style_df function" ] }, { "cell_type": "code", - "execution_count": 39, + "execution_count": null, "id": "39433d1d-c54e-475c-878e-78c992d0eb58", "metadata": {}, "outputs": [], @@ -46,7 +46,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "798b9f83-ee62-489d-bc7c-9d1542af0a29", "metadata": { "tags": [ @@ -63,18 +63,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" @@ -102,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", @@ -139,7 +115,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "cf017b79-26d5-455b-8c99-e9ba27d2dd77", "metadata": {}, "outputs": [], @@ -158,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: 6889 entries, 1103 to 95972\n", - "Data columns (total 26 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 key 6889 non-null object \n", - " 1 ntd_id 6889 non-null object \n", - " 2 legacy_ntd_id 6640 non-null object \n", - " 3 agency 6889 non-null object \n", - " 4 reporter_type 6889 non-null object \n", - " 5 period_year_month 6889 non-null object \n", - " 6 period_year 6889 non-null int64 \n", - " 7 period_month 6889 non-null int64 \n", - " 8 uza_name 6889 non-null object \n", - " 9 primary_uza_code 6889 non-null object \n", - " 10 _3_mode 6889 non-null object \n", - " 11 mode_name 6889 non-null object \n", - " 12 service_type 6889 non-null object \n", - " 13 Status 6889 non-null object \n", - " 14 upt 4761 non-null float64 \n", - " 15 vrm 4761 non-null float64 \n", - " 16 vrh 4761 non-null float64 \n", - " 17 voms 4761 non-null float64 \n", - " 18 _dt 6889 non-null object \n", - " 19 RTPA 6889 non-null object \n", - " 20 _merge 6889 non-null category\n", - " 21 previous_y_m_upt 4755 non-null float64 \n", - " 22 change_1yr 4659 non-null float64 \n", - " 23 pct_change_1yr 4651 non-null float64 \n", - " 24 Mode 6889 non-null object \n", - " 25 TOS 6889 non-null object \n", - "dtypes: category(1), float64(7), int64(2), object(16)\n", - "memory usage: 1.4+ MB\n" - ] - } - ], + "outputs": [], "source": [ "df.info()" ] }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "id": "bf36cb45-9594-4b4f-a8f0-39be6e5a450c", "metadata": {}, "outputs": [], @@ -235,7 +171,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "id": "804b1166-9261-4cb9-8bde-b5e0f95c628d", "metadata": {}, "outputs": [], @@ -276,7 +212,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "id": "cfc7efc0-03b4-4917-8277-d897c8a1779e", "metadata": {}, "outputs": [], @@ -317,7 +253,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "id": "f52e71b2-1ad8-4713-9500-9f97cbcfc2c2", "metadata": {}, "outputs": [], @@ -359,7 +295,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": null, "id": "d8b92608-f81b-452b-916a-72285d67b392", "metadata": {}, "outputs": [], @@ -387,7 +323,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "id": "6db38c9c-47b8-4887-a9fc-cf82c2c4eea5", "metadata": {}, "outputs": [], @@ -414,7 +350,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "id": "2d299cdb-21ba-4bf6-b6fb-3d64f02d59e5", "metadata": {}, "outputs": [], @@ -444,7 +380,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "id": "1bca9016-0024-44e0-b0a0-e11a313ca308", "metadata": {}, "outputs": [], @@ -462,7 +398,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "id": "1606b9e3-1311-40ea-aec8-1fa4ac0c2522", "metadata": {}, "outputs": [], @@ -483,7 +419,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "id": "53510310-eaea-400d-af32-20f4c8773514", "metadata": {}, "outputs": [], @@ -525,7 +461,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": null, "id": "f59f697a-912a-4dfe-bcac-02c9fc50b55d", "metadata": {}, "outputs": [], @@ -582,7 +518,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "id": "118b82e3-59f7-4ad4-81da-208fbcfa8280", "metadata": {}, "outputs": [], @@ -606,7 +542,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": null, "id": "413d77c9-b2cc-4847-9039-aa4d0caa64de", "metadata": { "tags": [] @@ -644,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 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": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "Markdown(f\"\"\"\n", "Within {rtpa}:\n", @@ -677,476 +595,24 @@ }, { "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", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
agencytotal_uptpct_of_total_upt
0City and County of San Francisco104143851047.04
1San Francisco Bay Area Rapid Transit District46504651621.01
2Alameda-Contra Costa Transit District26868272712.14
3Santa Clara Valley Transportation Authority1776801198.03
4Peninsula Corridor Joint Powers Board656778872.97
5San Mateo County Transit District617842392.79
6Golden Gate Bridge, Highway and Transportation...216547200.98
7Marin County Transit District177553950.80
8Central Contra Costa Transit Authority177023900.80
9San Francisco Bay Area Water Emergency Transpo...140131940.63
10The Eastern Contra Costa Transit Authority97799980.44
11City of Santa Rosa95597220.43
12Livermore / Amador Valley Transit Authority83607050.38
13Solano County Transit65458620.30
14Western Contra Costa Transit Authority52371030.24
15County of Sonoma48913060.22
16Napa Valley Transportation Authority44333410.20
17Metropolitan Transportation Commission44292480.20
18Sonoma-Marin Area Rail Transit District40548840.18
19City of Fairfield, California33214200.15
20City of Petaluma17442630.08
21City of Vallejo Transportation Program00.00
22City of Vacaville00.00
23City of Union City00.00
24San Francisco Paratransit00.00
25City of Benicia00.00
26City of Alameda Ferry Services00.00
27ATC / Vancom00.00
\n", - "
" - ], - "text/plain": [ - " agency total_upt \\\n", - "0 City and County of San Francisco 1041438510 \n", - "1 San Francisco Bay Area Rapid Transit District 465046516 \n", - "2 Alameda-Contra Costa Transit District 268682727 \n", - "3 Santa Clara Valley Transportation Authority 177680119 \n", - "4 Peninsula Corridor Joint Powers Board 65677887 \n", - "5 San Mateo County Transit District 61784239 \n", - "6 Golden Gate Bridge, Highway and Transportation... 21654720 \n", - "7 Marin County Transit District 17755395 \n", - "8 Central Contra Costa Transit Authority 17702390 \n", - "9 San Francisco Bay Area Water Emergency Transpo... 14013194 \n", - "10 The Eastern Contra Costa Transit Authority 9779998 \n", - "11 City of Santa Rosa 9559722 \n", - "12 Livermore / Amador Valley Transit Authority 8360705 \n", - "13 Solano County Transit 6545862 \n", - "14 Western Contra Costa Transit Authority 5237103 \n", - "15 County of Sonoma 4891306 \n", - "16 Napa Valley Transportation Authority 4433341 \n", - "17 Metropolitan Transportation Commission 4429248 \n", - "18 Sonoma-Marin Area Rail Transit District 4054884 \n", - "19 City of Fairfield, California 3321420 \n", - "20 City of Petaluma 1744263 \n", - "21 City of Vallejo Transportation Program 0 \n", - "22 City of Vacaville 0 \n", - "23 City of Union City 0 \n", - "24 San Francisco Paratransit 0 \n", - "25 City of Benicia 0 \n", - "26 City of Alameda Ferry Services 0 \n", - "27 ATC / Vancom 0 \n", - "\n", - " pct_of_total_upt \n", - "0 47.04 \n", - "1 21.01 \n", - "2 12.14 \n", - "3 8.03 \n", - "4 2.97 \n", - "5 2.79 \n", - "6 0.98 \n", - "7 0.80 \n", - "8 0.80 \n", - "9 0.63 \n", - "10 0.44 \n", - "11 0.43 \n", - "12 0.38 \n", - "13 0.30 \n", - "14 0.24 \n", - "15 0.22 \n", - "16 0.20 \n", - "17 0.20 \n", - "18 0.18 \n", - "19 0.15 \n", - "20 0.08 \n", - "21 0.00 \n", - "22 0.00 \n", - "23 0.00 \n", - "24 0.00 \n", - "25 0.00 \n", - "26 0.00 \n", - "27 0.00 " - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "display(agency_agg_yr.reset_index(drop=True))" ] }, { "cell_type": "code", - "execution_count": 23, + "execution_count": null, "id": "2714c6eb-c1ea-4bbd-be69-cfc5dd16aa75", "metadata": { "tags": [] }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
agencytotal_uptpct_of_total_upt
0City and County of San Francisco104143851047.04
1San Francisco Bay Area Rapid Transit District46504651621.01
2Alameda-Contra Costa Transit District26868272712.14
3Santa Clara Valley Transportation Authority1776801198.03
4Peninsula Corridor Joint Powers Board656778872.97
5San Mateo County Transit District617842392.79
6Golden Gate Bridge, Highway and Transportation District216547200.98
7Marin County Transit District177553950.80
8Central Contra Costa Transit Authority177023900.80
9San Francisco Bay Area Water Emergency Transportation Authority140131940.63
10The Eastern Contra Costa Transit Authority97799980.44
11City of Santa Rosa95597220.43
12Livermore / Amador Valley Transit Authority83607050.38
13Solano County Transit65458620.30
14Western Contra Costa Transit Authority52371030.24
15County of Sonoma48913060.22
16Napa Valley Transportation Authority44333410.20
17Metropolitan Transportation Commission44292480.20
18Sonoma-Marin Area Rail Transit District40548840.18
19City of Fairfield, California33214200.15
20City of Petaluma17442630.08
21City of Vallejo Transportation Program00.00
22City of Vacaville00.00
23City of Union City00.00
24San Francisco Paratransit00.00
25City of Benicia00.00
26City of Alameda Ferry Services00.00
27ATC / Vancom00.00
\n" - ] - } - ], + "outputs": [], "source": [ "df_html= agency_agg_yr.reset_index(drop=True).to_html()\n", "\n", @@ -1155,49 +621,12 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": null, "id": "38030feb-70e6-402f-8b77-3242076c0bc9", "metadata": { "tags": [] }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "| | agency | total_upt | pct_of_total_upt |\n", - "|---:|:----------------------------------------------------------------|------------:|-------------------:|\n", - "| 0 | City and County of San Francisco | 1041438510 | 47.04 |\n", - "| 1 | San Francisco Bay Area Rapid Transit District | 465046516 | 21.01 |\n", - "| 2 | Alameda-Contra Costa Transit District | 268682727 | 12.14 |\n", - "| 3 | Santa Clara Valley Transportation Authority | 177680119 | 8.03 |\n", - "| 4 | Peninsula Corridor Joint Powers Board | 65677887 | 2.97 |\n", - "| 5 | San Mateo County Transit District | 61784239 | 2.79 |\n", - "| 6 | Golden Gate Bridge, Highway and Transportation District | 21654720 | 0.98 |\n", - "| 7 | Marin County Transit District | 17755395 | 0.8 |\n", - "| 8 | Central Contra Costa Transit Authority | 17702390 | 0.8 |\n", - "| 9 | San Francisco Bay Area Water Emergency Transportation Authority | 14013194 | 0.63 |\n", - "| 10 | The Eastern Contra Costa Transit Authority | 9779998 | 0.44 |\n", - "| 11 | City of Santa Rosa | 9559722 | 0.43 |\n", - "| 12 | Livermore / Amador Valley Transit Authority | 8360705 | 0.38 |\n", - "| 13 | Solano County Transit | 6545862 | 0.3 |\n", - "| 14 | Western Contra Costa Transit Authority | 5237103 | 0.24 |\n", - "| 15 | County of Sonoma | 4891306 | 0.22 |\n", - "| 16 | Napa Valley Transportation Authority | 4433341 | 0.2 |\n", - "| 17 | Metropolitan Transportation Commission | 4429248 | 0.2 |\n", - "| 18 | Sonoma-Marin Area Rail Transit District | 4054884 | 0.18 |\n", - "| 19 | City of Fairfield, California | 3321420 | 0.15 |\n", - "| 20 | City of Petaluma | 1744263 | 0.08 |\n", - "| 21 | City of Vallejo Transportation Program | 0 | 0 |\n", - "| 22 | City of Vacaville | 0 | 0 |\n", - "| 23 | City of Union City | 0 | 0 |\n", - "| 24 | San Francisco Paratransit | 0 | 0 |\n", - "| 25 | City of Benicia | 0 | 0 |\n", - "| 26 | City of Alameda Ferry Services | 0 | 0 |\n", - "| 27 | ATC / Vancom | 0 | 0 |\n" - ] - } - ], + "outputs": [], "source": [ "df_markdown= agency_agg_yr.reset_index(drop=True).to_markdown()\n", "\n", @@ -1206,89 +635,10 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": null, "id": "7e5b1217-5c1d-4795-9eef-c25b245c9af3", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 25, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "tooltip_list = [\"agency\",\"total_upt\",\"pct_of_total_upt\"]\n", "\n", @@ -1301,89 +651,10 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": null, "id": "da59f86f-ba3c-4398-95ad-ad84e0ada732", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.Chart(...)" - ] - }, - "execution_count": 26, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_pie_chart(agency_agg_yr, col = \"total_upt\", color_col=\"agency\")\n" ] @@ -1398,89 +669,10 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": null, "id": "c068b244-f4c2-4ae7-9153-d2724ee9f5c2", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 27, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_line_chart(by_agency_long, y_col = \"upt\", color_col = \"agency\")" ] @@ -1495,89 +687,10 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": null, "id": "24462fe7-2af4-4023-9a88-0cc665ce763a", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 28, - "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", @@ -1587,178 +700,20 @@ }, { "cell_type": "code", - "execution_count": 29, + "execution_count": null, "id": "ddd1a017-0907-4a9c-826d-edd958418c26", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 29, - "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": 30, + "execution_count": null, "id": "fd64bce0-577f-498e-9be8-4d664bfc47d1", "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_agency_long_no_zero_upt, y_col = \"change_1yr\", color_col = \"agency\")" ] @@ -1773,178 +728,20 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": null, "id": "6d132a31-971d-44f2-a1aa-d60b2cf055f6", "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_mode_long, y_col = \"upt\", color_col = \"Mode\")" ] }, { "cell_type": "code", - "execution_count": 32, + "execution_count": null, "id": "a2d861b0-6baa-4d7c-89eb-4b686a77ba3e", "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_mode_long[by_mode_long[\"period_year\"] >= 2024], y_col = \"change_1yr\", color_col = \"Mode\")" ] @@ -1959,178 +756,20 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": null, "id": "e9999254-f07b-4041-a474-880a2b026434", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 33, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "make_line_chart(by_tos_long, y_col = \"upt\", color_col = \"TOS\")" ] }, { "cell_type": "code", - "execution_count": 34, + "execution_count": null, "id": "3c147008-7d5f-473a-886b-65bbd030de5b", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "
\n", - "" - ], - "text/plain": [ - "alt.FacetChart(...)" - ] - }, - "execution_count": 34, - "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\")" ] diff --git a/ntd/monthly_ridership_report.ipynb b/ntd/monthly_ridership_report.ipynb index 49340a89e..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" @@ -93,26 +85,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", @@ -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 Reporters: 28.\n", - "- Total Unlinked Passenger Trips since 2018: 2,213,793,549.0.\n", - "- Individual Reporters ridership breakdown:\n" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 15, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "Markdown(f\"\"\"\n", "Within {rtpa}:\n", @@ -439,364 +397,20 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": null, "id": "f1dd6c3e-35e1-4ec6-9292-6daa0d64b7f2", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
agencytotal_uptpct_of_total_upt
0City and County of San Francisco104143851047.04
1San Francisco Bay Area Rapid Transit District46504651621.01
2Alameda-Contra Costa Transit District26868272712.14
3Santa Clara Valley Transportation Authority1776801198.03
4Peninsula Corridor Joint Powers Board656778872.97
5San Mateo County Transit District617842392.79
6Golden Gate Bridge, Highway and Transportation...216547200.98
7Marin County Transit District177553950.80
8Central Contra Costa Transit Authority177023900.80
9San Francisco Bay Area Water Emergency Transpo...140131940.63
10The Eastern Contra Costa Transit Authority97799980.44
11City of Santa Rosa95597220.43
12Livermore / Amador Valley Transit Authority83607050.38
13Solano County Transit65458620.30
14Western Contra Costa Transit Authority52371030.24
15County of Sonoma48913060.22
16Napa Valley Transportation Authority44333410.20
17Metropolitan Transportation Commission44292480.20
18Sonoma-Marin Area Rail Transit District40548840.18
19City of Fairfield, California33214200.15
20City of Petaluma17442630.08
21City of Vallejo Transportation Program00.00
22City of Vacaville00.00
23City of Union City00.00
24San Francisco Paratransit00.00
25City of Benicia00.00
26City of Alameda Ferry Services00.00
27ATC / Vancom00.00
\n", - "
" - ], - "text/plain": [ - " agency total_upt \\\n", - "0 City and County of San Francisco 1041438510 \n", - "1 San Francisco Bay Area Rapid Transit District 465046516 \n", - "2 Alameda-Contra Costa Transit District 268682727 \n", - "3 Santa Clara Valley Transportation Authority 177680119 \n", - "4 Peninsula Corridor Joint Powers Board 65677887 \n", - "5 San Mateo County Transit District 61784239 \n", - "6 Golden Gate Bridge, Highway and Transportation... 21654720 \n", - "7 Marin County Transit District 17755395 \n", - "8 Central Contra Costa Transit Authority 17702390 \n", - "9 San Francisco Bay Area Water Emergency Transpo... 14013194 \n", - "10 The Eastern Contra Costa Transit Authority 9779998 \n", - "11 City of Santa Rosa 9559722 \n", - "12 Livermore / Amador Valley Transit Authority 8360705 \n", - "13 Solano County Transit 6545862 \n", - "14 Western Contra Costa Transit Authority 5237103 \n", - "15 County of Sonoma 4891306 \n", - "16 Napa Valley Transportation Authority 4433341 \n", - "17 Metropolitan Transportation Commission 4429248 \n", - "18 Sonoma-Marin Area Rail Transit District 4054884 \n", - "19 City of Fairfield, California 3321420 \n", - "20 City of Petaluma 1744263 \n", - "21 City of Vallejo Transportation Program 0 \n", - "22 City of Vacaville 0 \n", - "23 City of Union City 0 \n", - "24 San Francisco Paratransit 0 \n", - "25 City of Benicia 0 \n", - "26 City of Alameda Ferry Services 0 \n", - "27 ATC / Vancom 0 \n", - "\n", - " pct_of_total_upt \n", - "0 47.04 \n", - "1 21.01 \n", - "2 12.14 \n", - "3 8.03 \n", - "4 2.97 \n", - "5 2.79 \n", - "6 0.98 \n", - "7 0.80 \n", - "8 0.80 \n", - "9 0.63 \n", - "10 0.44 \n", - "11 0.43 \n", - "12 0.38 \n", - "13 0.30 \n", - "14 0.24 \n", - "15 0.22 \n", - "16 0.20 \n", - "17 0.20 \n", - "18 0.18 \n", - "19 0.15 \n", - "20 0.08 \n", - "21 0.00 \n", - "22 0.00 \n", - "23 0.00 \n", - "24 0.00 \n", - "25 0.00 \n", - "26 0.00 \n", - "27 0.00 " - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "display(agency_agg_yr.reset_index(drop=True))" ] }, { "cell_type": "code", - "execution_count": 16, + "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", @@ -812,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\")" ] @@ -914,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\")" ] @@ -1011,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\")" ] @@ -1197,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\")" ] 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