diff --git a/ntd/explore_new_dim_monthly_ridership.ipynb b/ntd/explore_new_dim_monthly_ridership.ipynb index aff879bc76..c77033351a 100644 --- a/ntd/explore_new_dim_monthly_ridership.ipynb +++ b/ntd/explore_new_dim_monthly_ridership.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "id": "6781e154-b5bf-482a-9682-7a70478378d2", "metadata": {}, "outputs": [], @@ -16,13 +16,14 @@ "from shared_utils.rt_dates import MONTH_DICT\n", "from update_vars import NTD_MODES, NTD_TOS, YEAR, MONTH\n", "\n", + "\n", "#temp file path for testing\n", "GCS_FILE_PATH = \"gs://calitp-analytics-data/data-analyses/csuyat_folder/\"" ] }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "id": "d917c821-e6b0-4ab4-9b5f-d295db7e68ca", "metadata": {}, "outputs": [], @@ -33,142 +34,168 @@ }, { "cell_type": "markdown", - "id": "fdfa1291-fa0b-44b7-b091-d7a147b5ef9f", + "id": "8ff06143-fddc-4b4f-8c34-cde809f92d66", "metadata": {}, "source": [ - "# Why doesnt `El Dorado County Transportation Comission` and `Placer County Transportation Planning Agency` appear in the RTPA list?" + "## does `produce_ntd_monthly_ridership_by_rtpa()` work with new crosswalk?\n", + "via the monthly_ridership_by_rtpa.py run on 11/12/2024, there are unmerged rows from the newcrosswalk?\n" ] }, { "cell_type": "code", - "execution_count": 3, - "id": "1a195378-cea9-49ae-b54f-f8a4fc5a6c8b", + "execution_count": 5, + "id": "cf74e852-9e21-4006-8aaf-6fb5d7fd0c71", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "both 94185\n", + "left_only 819\n", + "right_only 0\n", + "Name: _merge, dtype: int64\n" + ] + }, + { + "ename": "ValueError", + "evalue": "There are unmerged rows to crosswalk", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mValueError\u001b[0m Traceback (most recent call last)", + "Cell \u001b[0;32mIn[5], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mmonthly_ridership_by_rtpa\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m produce_ntd_monthly_ridership_by_rtpa\n\u001b[0;32m----> 2\u001b[0m df \u001b[38;5;241m=\u001b[39m \u001b[43mproduce_ntd_monthly_ridership_by_rtpa\u001b[49m\u001b[43m(\u001b[49m\u001b[43mYEAR\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mMONTH\u001b[49m\u001b[43m)\u001b[49m\n", + "File \u001b[0;32m~/data-analyses/ntd/monthly_ridership_by_rtpa.py:218\u001b[0m, in \u001b[0;36mproduce_ntd_monthly_ridership_by_rtpa\u001b[0;34m(year, month)\u001b[0m\n\u001b[1;32m 215\u001b[0m \u001b[38;5;28mprint\u001b[39m(df\u001b[38;5;241m.\u001b[39m_merge\u001b[38;5;241m.\u001b[39mvalue_counts())\n\u001b[1;32m 217\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mlen\u001b[39m(df[df\u001b[38;5;241m.\u001b[39m_merge\u001b[38;5;241m==\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mleft_only\u001b[39m\u001b[38;5;124m\"\u001b[39m]) \u001b[38;5;241m>\u001b[39m \u001b[38;5;241m0\u001b[39m:\n\u001b[0;32m--> 218\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mValueError\u001b[39;00m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mThere are unmerged rows to crosswalk\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[1;32m 220\u001b[0m df \u001b[38;5;241m=\u001b[39m add_change_columns(df)\n\u001b[1;32m 222\u001b[0m df \u001b[38;5;241m=\u001b[39m df\u001b[38;5;241m.\u001b[39massign(\n\u001b[1;32m 223\u001b[0m Mode_full \u001b[38;5;241m=\u001b[39m df[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mmode\u001b[39m\u001b[38;5;124m\"\u001b[39m]\u001b[38;5;241m.\u001b[39mmap(NTD_MODES),\n\u001b[1;32m 224\u001b[0m TOS_full \u001b[38;5;241m=\u001b[39m df[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtos\u001b[39m\u001b[38;5;124m\"\u001b[39m]\u001b[38;5;241m.\u001b[39mmap(NTD_TOS)\n\u001b[1;32m 225\u001b[0m )\n", + "\u001b[0;31mValueError\u001b[0m: There are unmerged rows to crosswalk" + ] + } + ], "source": [ - "# got this from the deploy_portfolio_yaml.py\n", + "from monthly_ridership_by_rtpa import produce_ntd_monthly_ridership_by_rtpa\n", "\n", - "# whats in it?\n", - "oct_ridership = pd.read_parquet(\n", - " f\"gs://calitp-analytics-data/data-analyses/ntd/ca_monthly_ridership_2023_October.parquet\",\n", - " columns = [\"RTPA\"]\n", - " ).drop_duplicates()\n", + "df = produce_ntd_monthly_ridership_by_rtpa(YEAR, MONTH) \n", "\n", - "check_list = [\"Placer\", \"El Dorado\"]" + "# getting 819 on left only, so something in the warehouse data isnt matching to the crosswalk\n", + "\n", + "# what are those rows?\n" ] }, { "cell_type": "code", - "execution_count": 4, - "id": "5617d33f-3ced-4361-a15d-8ec955af715e", + "execution_count": 7, + "id": "4f1c721b-f3f9-4e87-a189-044ad256a4b4", + "metadata": {}, + "outputs": [], + "source": [ + "# first part of that func, read in the warehouse data\n", + "full_upt = (tbls.mart_ntd.dim_monthly_ntd_ridership_with_adjustments() >> collect()).rename(columns = {\"mode_type_of_service_status\": \"Status\"})\n", + " \n", + "full_upt = full_upt[full_upt.agency.notna()].reset_index(drop=True)\n", + "\n" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "75e54dfc-98a6-4682-9bc0-a738ba13e636", "metadata": {}, "outputs": [ { - "data": { - "text/plain": [ - "Index(['RTPA'], dtype='object')" - ] - }, - "execution_count": 4, - "metadata": {}, - "output_type": "execute_result" + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "RangeIndex: 627900 entries, 0 to 627899\n", + "Data columns (total 22 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 uza_name 626262 non-null object \n", + " 1 uace_cd 626262 non-null object \n", + " 2 _dt 627900 non-null object \n", + " 3 ts 627900 non-null datetime64[ns, UTC]\n", + " 4 ntd_id 627900 non-null object \n", + " 5 year 627900 non-null int64 \n", + " 6 reporter_type 627900 non-null object \n", + " 7 agency 627900 non-null object \n", + " 8 Status 627900 non-null object \n", + " 9 mode 627900 non-null object \n", + " 10 mode_full_name 627354 non-null object \n", + " 11 service_type 627900 non-null object \n", + " 12 _3_mode 627900 non-null object \n", + " 13 tos 627900 non-null object \n", + " 14 legacy_ntd_id 604422 non-null object \n", + " 15 period_year_month 627900 non-null object \n", + " 16 period_year 627900 non-null object \n", + " 17 period_month 627900 non-null object \n", + " 18 upt 342911 non-null float64 \n", + " 19 vrm 339567 non-null float64 \n", + " 20 vrh 338930 non-null float64 \n", + " 21 voms 340716 non-null float64 \n", + "dtypes: datetime64[ns, UTC](1), float64(4), int64(1), object(16)\n", + "memory usage: 105.4+ MB\n" + ] } ], "source": [ - "oct_ridership.columns" + "full_upt.info()" ] }, { "cell_type": "code", - "execution_count": 5, - "id": "384c500e-2524-4740-9379-db1df2b4659a", + "execution_count": 9, + "id": "1d9a8149-b216-4da9-a210-e2ae68c56a15", "metadata": {}, "outputs": [ { - "data": { - "text/plain": [ - "(24, 1)" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
RTPA
\n", - "
" - ], - "text/plain": [ - "Empty DataFrame\n", - "Columns: [RTPA]\n", - "Index: []" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
RTPA
\n", - "
" - ], - "text/plain": [ - "Empty DataFrame\n", - "Columns: [RTPA]\n", - "Index: []" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "RangeIndex: 95004 entries, 0 to 95003\n", + "Data columns (total 22 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 uza_name 95004 non-null object \n", + " 1 uace_cd 95004 non-null object \n", + " 2 _dt 95004 non-null object \n", + " 3 ts 95004 non-null datetime64[ns, UTC]\n", + " 4 ntd_id 95004 non-null object \n", + " 5 year 95004 non-null int64 \n", + " 6 reporter_type 95004 non-null object \n", + " 7 agency 95004 non-null object \n", + " 8 Status 95004 non-null object \n", + " 9 mode 95004 non-null object \n", + " 10 mode_full_name 95004 non-null object \n", + " 11 service_type 95004 non-null object \n", + " 12 _3_mode 95004 non-null object \n", + " 13 tos 95004 non-null object \n", + " 14 legacy_ntd_id 89544 non-null object \n", + " 15 period_year_month 95004 non-null object \n", + " 16 period_year 95004 non-null object \n", + " 17 period_month 95004 non-null object \n", + " 18 upt 52388 non-null float64 \n", + " 19 vrm 52010 non-null float64 \n", + " 20 vrh 51928 non-null float64 \n", + " 21 voms 52132 non-null float64 \n", + "dtypes: datetime64[ns, UTC](1), float64(4), int64(1), object(16)\n", + "memory usage: 15.9+ MB\n" + ] + } + ], + "source": [ + "# filter full upt to CA only\n", + "ca = full_upt[(full_upt[\"uza_name\"].str.contains(\", CA\")) & \n", + " (full_upt.agency.notna())].reset_index(drop=True)\n", + "\n", + "ca.info()" + ] + }, + { + "cell_type": "code", + "execution_count": 29, + "id": "5fe8dc41-12ad-4c0f-80f9-b8297833f33d", + "metadata": {}, + "outputs": [ { "data": { "text/html": [ @@ -190,142 +217,256 @@ " \n", " \n", " \n", - " RTPA\n", + " uza_name\n", + " ntd_id\n", + " agency\n", + " period_year_month\n", + " upt\n", " \n", " \n", " \n", " \n", - " 157\n", - " Alpine County Transportation Commission\n", - " \n", - " \n", - " 184\n", - " Butte County Association of Governments\n", - " \n", - " \n", - " 86\n", - " Fresno County Council of Governments\n", - " \n", - " \n", - " 288\n", - " Imperial County Transportation Commission\n", - " \n", - " \n", - " 4\n", - " Kern Council of Governments\n", - " \n", - " \n", - " 270\n", - " Kings County Association of Governments\n", - " \n", - " \n", - " 14\n", - " Los Angeles County Metropolitan Transportation...\n", - " \n", - " \n", - " 244\n", - " Merced County Association of Governments\n", - " \n", - " \n", - " 0\n", - " Metropolitan Transportation Commission\n", - " \n", - " \n", - " 111\n", - " Orange County Transportation Authority\n", - " \n", - " \n", - " 103\n", - " Riverside County Transportation Commission\n", - " \n", - " \n", - " 60\n", - " Sacramento Area Council of Governments\n", - " \n", - " \n", - " 91\n", - " San Bernardino County Transportation Authority\n", - " \n", - " \n", - " 80\n", - " San Diego Association of Governments\n", - " \n", - " \n", - " 27\n", - " San Joaquin Council of Governments\n", - " \n", - " \n", - " 155\n", - " San Luis Obispo Council of Governments\n", - " \n", - " \n", - " 65\n", + " 50778\n", + " Santa Barbara, CA\n", + " 90303\n", " Santa Barbara County Association of Governments\n", + " 2004-07\n", + " NaN\n", " \n", " \n", - " 6\n", - " Santa Cruz County Transportation Commission\n", - " \n", - " \n", - " 172\n", - " Shasta Regional Transportation Agency\n", - " \n", - " \n", - " 11\n", - " Stanislaus Council of Governments\n", - " \n", - " \n", - " 327\n", - " Tahoe Regional Planning Agency\n", + " 50779\n", + " Santa Barbara, CA\n", + " 90303\n", + " Santa Barbara County Association of Governments\n", + " 2013-12\n", + " NaN\n", " \n", " \n", - " 141\n", - " Transportation Agency for Monterey County\n", + " 50780\n", + " Santa Barbara, CA\n", + " 90303\n", + " Santa Barbara County Association of Governments\n", + " 2012-11\n", + " NaN\n", " \n", " \n", - " 165\n", - " Tulare County Association of Governments\n", + " 50781\n", + " Santa Barbara, CA\n", + " 90303\n", + " Santa Barbara County Association of Governments\n", + " 2016-09\n", + " NaN\n", " \n", " \n", - " 109\n", - " Ventura County Transportation Commission\n", + " 50782\n", + " Santa Barbara, CA\n", + " 90303\n", + " Santa Barbara County Association of Governments\n", + " 2016-11\n", + " NaN\n", " \n", " \n", "\n", "" ], "text/plain": [ - " RTPA\n", - "157 Alpine County Transportation Commission\n", - "184 Butte County Association of Governments\n", - "86 Fresno County Council of Governments\n", - "288 Imperial County Transportation Commission\n", - "4 Kern Council of Governments\n", - "270 Kings County Association of Governments\n", - "14 Los Angeles County Metropolitan Transportation...\n", - "244 Merced County Association of Governments\n", - "0 Metropolitan Transportation Commission\n", - "111 Orange County Transportation Authority\n", - "103 Riverside County Transportation Commission\n", - "60 Sacramento Area Council of Governments\n", - "91 San Bernardino County Transportation Authority\n", - "80 San Diego Association of Governments\n", - "27 San Joaquin Council of Governments\n", - "155 San Luis Obispo Council of Governments\n", - "65 Santa Barbara County Association of Governments\n", - "6 Santa Cruz County Transportation Commission\n", - "172 Shasta Regional Transportation Agency\n", - "11 Stanislaus Council of Governments\n", - "327 Tahoe Regional Planning Agency\n", - "141 Transportation Agency for Monterey County\n", - "165 Tulare County Association of Governments\n", - "109 Ventura County Transportation Commission" + " uza_name ntd_id \\\n", + "50778 Santa Barbara, CA 90303 \n", + "50779 Santa Barbara, CA 90303 \n", + "50780 Santa Barbara, CA 90303 \n", + "50781 Santa Barbara, CA 90303 \n", + "50782 Santa Barbara, CA 90303 \n", + "\n", + " agency period_year_month upt \n", + "50778 Santa Barbara County Association of Governments 2004-07 NaN \n", + "50779 Santa Barbara County Association of Governments 2013-12 NaN \n", + "50780 Santa Barbara County Association of Governments 2012-11 NaN \n", + "50781 Santa Barbara County Association of Governments 2016-09 NaN \n", + "50782 Santa Barbara County Association of Governments 2016-11 NaN " ] }, + "execution_count": 29, "metadata": {}, - "output_type": "display_data" + "output_type": "execute_result" + } + ], + "source": [ + "ca[\n", + " #(ca[\"agency\"]==\"City of Clovis\")\n", + " (ca[\"agency\"]==\"Santa Barbara County Association of Governments\")\n", + "][[\"uza_name\",\"ntd_id\",\"agency\",\"period_year_month\",\"upt\"]].head()" + ] + }, + { + "cell_type": "code", + "execution_count": 30, + "id": "9fa55990-21c6-405c-9b64-dbc8d104ee79", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "RangeIndex: 122 entries, 0 to 121\n", + "Data columns (total 6 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 ntd_id 122 non-null object\n", + " 1 Legacy NTD ID 112 non-null object\n", + " 2 Agency 122 non-null object\n", + " 3 UZA Name 122 non-null object\n", + " 4 RTPA_open_data 122 non-null object\n", + " 5 RTPA 122 non-null object\n", + "dtypes: object(6)\n", + "memory usage: 5.8+ KB\n" + ] } ], + "source": [ + "# read in crosswalk\n", + "crosswalk = pd.read_csv(\n", + " f\"gs://calitp-analytics-data/data-analyses/ntd/ntd_id_rtpa_crosswalk.csv\", \n", + " dtype = {\"ntd_id\": \"str\"})\n", + "\n", + "crosswalk.info()\n", + "\n", + "# what was the old crosswalk?" + ] + }, + { + "cell_type": "code", + "execution_count": 31, + "id": "a10a46de-e6b3-4288-97e4-02aa5d5d378b", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "Int64Index: 95004 entries, 0 to 95003\n", + "Data columns (total 24 columns):\n", + " # Column Non-Null Count Dtype \n", + "--- ------ -------------- ----- \n", + " 0 uza_name 95004 non-null object \n", + " 1 uace_cd 95004 non-null object \n", + " 2 _dt 95004 non-null object \n", + " 3 ts 95004 non-null datetime64[ns, UTC]\n", + " 4 ntd_id 95004 non-null object \n", + " 5 year 95004 non-null int64 \n", + " 6 reporter_type 95004 non-null object \n", + " 7 agency 95004 non-null object \n", + " 8 Status 95004 non-null object \n", + " 9 mode 95004 non-null object \n", + " 10 mode_full_name 95004 non-null object \n", + " 11 service_type 95004 non-null object \n", + " 12 _3_mode 95004 non-null object \n", + " 13 tos 95004 non-null object \n", + " 14 legacy_ntd_id 89544 non-null object \n", + " 15 period_year_month 95004 non-null object \n", + " 16 period_year 95004 non-null object \n", + " 17 period_month 95004 non-null object \n", + " 18 upt 52388 non-null float64 \n", + " 19 vrm 52010 non-null float64 \n", + " 20 vrh 51928 non-null float64 \n", + " 21 voms 52132 non-null float64 \n", + " 22 RTPA 95004 non-null object \n", + " 23 _merge 95004 non-null category \n", + "dtypes: category(1), datetime64[ns, UTC](1), float64(4), int64(1), object(17)\n", + "memory usage: 17.5+ MB\n" + ] + } + ], + "source": [ + "# then merge\n", + "df = pd.merge(\n", + " ca,\n", + " # Merging on too many columns can create problems \n", + " # because csvs and dtypes aren't stable / consistent \n", + " # for NTD ID, Legacy NTD ID, and UZA\n", + " crosswalk[[\"ntd_id\", \"RTPA\"]],\n", + " on = \"ntd_id\",\n", + " how = \"left\",\n", + " indicator = True\n", + " )\n", + "df.info()" + ] + }, + { + "cell_type": "code", + "execution_count": 32, + "id": "cb33fbd1-f31b-41ea-8819-6d295df0dd3e", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "Series([], Name: agency, dtype: int64)" + ] + }, + "execution_count": 32, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "#what agencies didnt get merged?\n", + "df[df[\"_merge\"]==\"left_only\"][\"agency\"].value_counts()\n", + "\n", + "# where are Clovis and Santa Barbara in the crosswalk" + ] + }, + { + "cell_type": "markdown", + "id": "d81bd9ac-dd6a-4abd-924e-29275cd609a0", + "metadata": {}, + "source": [ + "---" + ] + }, + { + "cell_type": "markdown", + "id": "fdfa1291-fa0b-44b7-b091-d7a147b5ef9f", + "metadata": {}, + "source": [ + "# Why doesnt `El Dorado County Transportation Comission` and `Placer County Transportation Planning Agency` appear in the RTPA list?" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "1a195378-cea9-49ae-b54f-f8a4fc5a6c8b", + "metadata": {}, + "outputs": [], + "source": [ + "# got this from the deploy_portfolio_yaml.py\n", + "\n", + "# whats in it?\n", + "oct_ridership = pd.read_parquet(\n", + " f\"gs://calitp-analytics-data/data-analyses/ntd/ca_monthly_ridership_2023_October.parquet\",\n", + " columns = [\"RTPA\"]\n", + " ).drop_duplicates()\n", + "\n", + "check_list = [\"Placer\", \"El Dorado\"]" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "5617d33f-3ced-4361-a15d-8ec955af715e", + "metadata": {}, + "outputs": [], + "source": [ + "oct_ridership.columns" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "384c500e-2524-4740-9379-db1df2b4659a", + "metadata": {}, + "outputs": [], "source": [ "display(\n", " oct_ridership.shape,\n", @@ -355,7 +496,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "d4538dab-c147-4b40-9b15-aef116ade76a", "metadata": {}, "outputs": [], @@ -370,29 +511,10 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "id": "a0d00fab-5864-4b83-8360-ab06e92e4dca", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "24" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "19" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "display(\n", " len(crosswalk[\"RTPA\"].nunique()),\n", @@ -402,93 +524,10 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "id": "dc0fdcfa-110a-4cd8-a26e-c85eab489e14", "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", - "
ntd_idLegacy NTD IDAgencyUZA NameRTPA_open_dataRTPA
60901689168City of RosevilleSacramento, CASacramento Area Council of GovernmentsSacramento Area Council of Governments
61901969196County of PlacerSacramento, CASacramento Area Council of GovernmentsSacramento Area Council of Governments
63902299229El Dorado County Transit AuthoritySacramento, CASacramento Area Council of GovernmentsSacramento Area Council of Governments
\n", - "
" - ], - "text/plain": [ - " ntd_id Legacy NTD ID Agency UZA Name \\\n", - "60 90168 9168 City of Roseville Sacramento, CA \n", - "61 90196 9196 County of Placer Sacramento, CA \n", - "63 90229 9229 El Dorado County Transit Authority Sacramento, CA \n", - "\n", - " RTPA_open_data \\\n", - "60 Sacramento Area Council of Governments \n", - "61 Sacramento Area Council of Governments \n", - "63 Sacramento Area Council of Governments \n", - "\n", - " RTPA \n", - "60 Sacramento Area Council of Governments \n", - "61 Sacramento Area Council of Governments \n", - "63 Sacramento Area Council of Governments " - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "crosswalk[\n", " crosswalk[\"Agency\"].str.contains(\"Placer\") | \n", @@ -508,7 +547,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "id": "4b17c69d-d8cc-437d-956c-5e13efe4badf", "metadata": {}, "outputs": [], @@ -523,7 +562,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "id": "423ac59c-9e66-430c-80cd-9b3f48868bc0", "metadata": {}, "outputs": [], @@ -533,138 +572,10 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "id": "fc2c19c9-933f-4f92-ba9c-b361e16ab340", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "both 15\n", - "left_only 9\n", - "right_only 4\n", - "Name: _merge, dtype: int64" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "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", - "
rtpa_name_merge
4Imperial County Transportation Commissionleft_only
5Fresno County Council of Governmentsleft_only
7Riverside County Transportation Commissionleft_only
11Los Angeles County Metropolitan Transportation...left_only
12Orange County Transportation Authorityleft_only
15Alpine County Transportation Commissionleft_only
16Ventura County Transportation Commissionleft_only
19San Bernardino County Transportation Authorityleft_only
22Santa Cruz County Transportation Commissionleft_only
24Southern California Association of Governmentsright_only
25Fresno Council of Governmentsright_only
26Alpine County Local Transportation Commissionright_only
27Santa Cruz County Regional Transportation Comm...right_only
\n", - "
" - ], - "text/plain": [ - " rtpa_name _merge\n", - "4 Imperial County Transportation Commission left_only\n", - "5 Fresno County Council of Governments left_only\n", - "7 Riverside County Transportation Commission left_only\n", - "11 Los Angeles County Metropolitan Transportation... left_only\n", - "12 Orange County Transportation Authority left_only\n", - "15 Alpine County Transportation Commission left_only\n", - "16 Ventura County Transportation Commission left_only\n", - "19 San Bernardino County Transportation Authority left_only\n", - "22 Santa Cruz County Transportation Commission left_only\n", - "24 Southern California Association of Governments right_only\n", - "25 Fresno Council of Governments right_only\n", - "26 Alpine County Local Transportation Commission right_only\n", - "27 Santa Cruz County Regional Transportation Comm... right_only" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "display(\n", " diff_merge[\"_merge\"].value_counts(),\n", @@ -716,7 +627,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 3, "id": "3b5b8680-42bd-4b64-8b26-936be39fe15d", "metadata": {}, "outputs": [ @@ -724,10 +635,10 @@ "data": { "text/plain": [ "array(['2024-01', '2024-02', '2024-03', '2024-04', '2024-05', '2024-06',\n", - " '2024-07'], dtype=object)" + " '2024-07', '2024-08', '2024-09'], dtype=object)" ] }, - "execution_count": 12, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -749,149 +660,10 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "id": "3a4f498c-fbbe-421a-838d-2d0e0f900178", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "Index(['uza_name', 'uace_cd', '_dt', 'ts', 'ntd_id', 'year', 'reporter_type',\n", - " 'agency', 'Status', 'mode', 'mode_full_name', 'service_type', '_3_mode',\n", - " 'tos', 'legacy_ntd_id', 'period_year_month', 'period_year',\n", - " 'period_month', 'upt', 'vrm', 'vrh', 'voms'],\n", - " dtype='object')" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "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", - "
uza_nameuace_cd_dttsntd_idyearreporter_typeagencyStatusmodemode_full_nameservice_type_3_modetoslegacy_ntd_idperiod_year_monthperiod_yearperiod_monthuptvrmvrhvoms
0Miami--Fort Lauderdale, FL566022024-09-062024-09-06 20:49:05.015238+00:00400342024Full ReporterCounty of Miami-DadeInactiveAGAutomated GuidewayFixed RouteRailDO40342018-0820188NaNNaNNaNNaN
1Miami--Fort Lauderdale, FL566022024-09-062024-09-06 20:49:05.015238+00:00400342024Full ReporterCounty of Miami-DadeInactiveAGAutomated GuidewayFixed RouteRailDO40342015-11201511NaNNaNNaNNaN
\n", - "
" - ], - "text/plain": [ - " uza_name uace_cd _dt \\\n", - "0 Miami--Fort Lauderdale, FL 56602 2024-09-06 \n", - "1 Miami--Fort Lauderdale, FL 56602 2024-09-06 \n", - "\n", - " ts ntd_id year reporter_type \\\n", - "0 2024-09-06 20:49:05.015238+00:00 40034 2024 Full Reporter \n", - "1 2024-09-06 20:49:05.015238+00:00 40034 2024 Full Reporter \n", - "\n", - " agency Status mode mode_full_name service_type \\\n", - "0 County of Miami-Dade Inactive AG Automated Guideway Fixed Route \n", - "1 County of Miami-Dade Inactive AG Automated Guideway Fixed Route \n", - "\n", - " _3_mode tos legacy_ntd_id period_year_month period_year period_month upt \\\n", - "0 Rail DO 4034 2018-08 2018 8 NaN \n", - "1 Rail DO 4034 2015-11 2015 11 NaN \n", - "\n", - " vrm vrh voms \n", - "0 NaN NaN NaN \n", - "1 NaN NaN NaN " - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], + "outputs": [], "source": [ "display(full_upt.columns, full_upt.head(2)\n", " )" @@ -899,24 +671,10 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": null, "id": "3ab45e08-8913-4cdb-8320-9c7bdb72806e", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "County of Placer 2168\n", - "El Dorado County Transit Authority 813\n", - "City of Roseville 542\n", - "Name: agency, dtype: int64" - ] - }, - "execution_count": 14, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "full_upt[full_upt[\"agency\"].isin([\n", " \"County of Placer\",\n", @@ -928,21 +686,10 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "id": "a8c69d1f-65d2-440f-9bb3-6ece7fd59099", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "array(['Tahoe Transportation District'], dtype=object)" - ] - }, - "execution_count": 15, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "full_upt[full_upt[\"uza_name\"].str.contains(\", CA\") & full_upt[\"agency\"].str.contains(\"Tahoe\")][\"agency\"].unique()" ] diff --git a/ntd/ntd_dates.py b/ntd/ntd_dates.py index f59a076b0f..89cdad7066 100644 --- a/ntd/ntd_dates.py +++ b/ntd/ntd_dates.py @@ -35,5 +35,7 @@ def get_public_filename(monthyear_string: str) -> str: "apr2024": "2024-06", "may2024": "2024-07", "jun2024": "2024-08", - "jul2024": "2024-09" + "jul2024": "2024-09", + "aug2024": "2024-08", + "sep2024": "2024-09" } \ No newline at end of file diff --git a/ntd/update_vars.py b/ntd/update_vars.py index 6f055ed090..681d8ce9a8 100644 --- a/ntd/update_vars.py +++ b/ntd/update_vars.py @@ -4,7 +4,7 @@ GCS_FILE_PATH = "gs://calitp-analytics-data/data-analyses/ntd/" -current_month = "jul2024" +current_month = "sep2024" YEAR, MONTH = ntd_dates.parse_monthyear_string(current_month) PUBLIC_FILENAME = ntd_dates.get_public_filename(current_month) MONTH_CREATED = ntd_dates.DATES[current_month] @@ -12,7 +12,7 @@ # Check this url each month # https://www.transit.dot.gov/ntd/data-product/monthly-module-adjusted-data-release # Depending on if they fixed the Excel, there may be an additional suffix -suffix = "_240903" +suffix = "_241101" FULL_URL = ( "https://www.transit.dot.gov/sites/fta.dot.gov/files/" f"{MONTH_CREATED}/{MONTH}%20{YEAR}%20" 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 c12e097ef8..e9b0d3239b 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:04c711bfb29e506bd99017212302081595b22254aceacf2aa2ae61615b0c8c9c -size 277382 +oid sha256:11b57f23984b2c215c8d59f03bcb5a440e224b80d3e60d0c3bc67590cb84c281 +size 282993 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 ffcff0acca..98ca376d2b 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:56f068ac3c9f56cb791a32f6b63ac39311965c88199c427540dc9bd8ec68d5b9 -size 236109 +oid sha256:98e3a5e1083c385c68f91ee03db6490c7c9909c46ae919c39827f8541c57046e +size 240691 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 95682321cf..136da31696 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:b79df7e9c9297e6ffabfd74a9453bb5acfb9e9a6ebe52879fd9a1fbbdbaf7517 -size 168983 +oid sha256:f58f4d940854ae99dbd685b7f7e21d2ae427922b547236b8a2a668209f9f27da +size 171056 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 dea703c9ad..04ec3c3286 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:85f2df0d347c512c2069fbc0d8cbc8503274eb64c78b818efc488256c719edaf -size 274362 +oid sha256:3421bc6911b8c77ed8ee084d3a8e12a91aec43c19144c05929a5829d5baeba8b +size 288405 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 d2713ad77f..a410ebd167 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:59eed3402e6c3138f9ff42f795708fcbbb93ccc3e1ef3a1cde60a28c00b05b7f -size 236172 +oid sha256:65ccf8037fc8ec86f95ba304fca070b4fee0f0cc175e62ab1a5ac266166d1853 +size 242322 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 f43554bac7..6f80841928 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:e52d59e134764a1a53289d1288c18da8b13821a096fe93bdcd9b11ce0918a09d -size 257447 +oid sha256:5bfb223e711f397445b14ef314d48906192845f1eb0fcb3fe06b18cb1c3dfdcb +size 264079 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 38f7b96a45..b89aa23133 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:452f2fdd5f1baccf5e0f791368c443eb7a1b254d1e0c919d2128d1d24c284711 -size 370850 +oid sha256:a4153830e233511bb68f505b61dc3896b193347b91d2dae39965c05c3cbe60bf +size 378946 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 21f7a82fa0..08c7c0407c 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:39d2ba14430cc9abc69ea5de0e55cbc1b9dc745fb3a1d0f98b628fef5730b704 -size 1656735 +oid sha256:a6ccb6729c6742ab3e03ac4d5f3fba0761e5e4baa5f793abf348206b8c83f1d0 +size 1696565 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 96e58a7451..efcbcf2719 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:68e006c704f58125e71efd15e66b5d1bc2283f705078364c9d0cf54161a7130d -size 259040 +oid sha256:1ee56ec01a9268bd0aa7f7064b159f07b0c13b964d5ec674f4b1bde275de8aea +size 264146 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 3806b7a9e1..a72698b58d 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:c5a4a93487e9df29e5a997646818ff698d527bdb633e45a72ab101b605706286 -size 1810679 +oid sha256:89be12a513dad22328889c8417449a0253087eee1dc716895cee2f43d05420c7 +size 1859000 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 8e43cc7b1e..6876a94948 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:774850b2b246ccf13acea454c8e8b8dc8ea99121e43117c17b7bfbf348ae3f82 -size 456718 +oid sha256:bbd88d68820e182335cadb6c73d8d94e8b4f97ecadf1e1e5cb4fb6524d004e39 +size 467126 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 6f3a7f96aa..8eeb95af6c 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:4d921796b7c80c690a9cd66302f3d11dd643f2551657260ebc199b33ec08b644 -size 385362 +oid sha256:25a2f8e5f4503a622ff09436f81dec95553dc0bbcc05542c483c3273a844ce5e +size 393727 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 496efa1ac5..8e83a9588c 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:59b9d2d59c0452940d9691c1745effb81d3baec5a2409c9cf60f13686eee8a02 -size 541095 +oid sha256:7acce82a90f913d8a04b104497628be2dce82c86f4ef5c20b0bf72dba14579b4 +size 553156 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 3099d24055..86b80abc21 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:1ad5dd88b09beb20b88a279b2b03757985dd91a8999c66d9b5a3e6a19c4f927e -size 625853 +oid sha256:80102ba332169e80bf958d308a292e2edb0650ac9672d5ae803690a542c2d659 +size 638436 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 6a74e1ad80..a708711543 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:47d7762b4c24d9bd951f7faa676f1db868c477bf6655efe530e5403deb4842cb -size 465708 +oid sha256:ff5c308c4edb5c099e0a880737a15a32d698f922c7e41af19573ec8bbc21aeca +size 476251 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 6de56a4e6b..aa080fdb99 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:96e52877db7ed9ff9203d1b668d1debba0128e8ca34f553bbb9ac38c60ba0f90 -size 631287 +oid sha256:70944726c39fe7451a20acf959a6d1baf43269c033fa7bcd8b4e092ad10c9d85 +size 645771 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 9f261cc046..37584f3678 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:6434c026d80d404db4340cc6d90e6756405919210a6408dd0708ab59b9e4eb0d -size 530336 +oid sha256:49e86a7b3de8a2ee743d46815250087d0274c9bb6a0523ff208296c4c13ea15d +size 542052 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 531c1ab8c3..281c8c9342 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:59f6dddf6f2fde4489325aa05c53af8670fc6727b791b17eb6ea013f742261db -size 393702 +oid sha256:6e456d2c747fab26d1b741a3f493875bade2096bd8eb9a9e70dff5881e5742a0 +size 402642 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 33ceaa6659..9b1e4406e2 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:18a8a8d385c495a8174bf2fa804ddd6de0164d7124fdf18ed850bb3f1fca9a2a -size 260790 +oid sha256:214720da763f29bd41f06b881ce98b44cba04f9d9fba20f1875c66edea700914 +size 284160 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 8470d58427..fe0264f63b 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:aab9600cd38a732471cba90ae7acc4ac27c7d116fb063c891de91adc26e38ff5 -size 324767 +oid sha256:223b1512bf1c095172fbfb1c8716829a3c2c583702c9aa0f5cb6e890aaf8d912 +size 331462 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 b8f5910d62..c56463db0d 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:f30deea0067a679d4f395b95eec99cb04bb2aa059588071c2132c553f5392d02 -size 215717 +oid sha256:f056cd23b8afed61c3e2be52a022ceb364bce5443dd7df9741559c505e07a42b +size 217775 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 d4709b294c..4babbfe4d2 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:f25298bc2132ef16121b4c0217891a83efc8901a761c5713ee21b6af94ff6f01 -size 372597 +oid sha256:fcec6c5e43f03e5d9ffee7f1b1e7d7b498202e9ecad720ba4dba9fe92087f84e +size 382064 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 9ca207f8b5..f2bc9eaa01 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:8c90f319e5c9de6d3e1d656849c854caefe4acb084de16b4dfc3a9ee12985257 -size 303911 +oid sha256:1acd2c4f90d819bdffa5f83d50c79f42518b7584db8411a58270dffe81389080 +size 309805 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 9b9198d250..6b01e3d546 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:999d0cdf47087148e569ee3f86fc790bd95856f7e6f0ec8f0fbfa867a95b645f -size 356614 +oid sha256:ba572d078751f904bfcf74104fc368a8b6985e2aec2c0d5191165e3542a0ba8e +size 364978 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 cbd2933fbc..eb41e22007 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:2de7531871760638afdd7698e7fb83c2cf604382708630633c04a6a07c59a63b -size 324247 +oid sha256:2d1a61ee0f1b40a7177b64b409987ac6ee529d646cb9289f226df13bb4e08041 +size 331064 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 f4d96c1316..dd3df5c8b3 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:b65b8b28254f23e9ab58dcfe52251701f6777e3c53acd33ac16067fab0063996 -size 372268 +oid sha256:925a08adc8115e4057ef0c9ec61da9bbd9cf45bf25498e113c371378a7a4bc85 +size 381172