diff --git a/gtfs_digest/42_explore_ct_district.ipynb b/gtfs_digest/42_explore_ct_district.ipynb index af6e32c4d..a15d091bf 100644 --- a/gtfs_digest/42_explore_ct_district.ipynb +++ b/gtfs_digest/42_explore_ct_district.ipynb @@ -55,6 +55,16 @@ { "cell_type": "code", "execution_count": 4, + "id": "8d18e2d6-86a8-4471-a9fc-120613c3476e", + "metadata": {}, + "outputs": [], + "source": [ + "analysis_date = \"2024-11-13\"" + ] + }, + { + "cell_type": "code", + "execution_count": 5, "id": "435d1028-222a-4c55-99ca-cb19972ce39b", "metadata": {}, "outputs": [], @@ -74,35 +84,28 @@ }, { "cell_type": "code", - "execution_count": 5, - "id": "2b4f113c-c110-4b5d-a0b7-3d992aa6b4e9", + "execution_count": 6, + "id": "6f39ef87-f413-4a0b-af42-d05028fec997", "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "array(['2024-11-13T00:00:00.000000000', '2024-10-16T00:00:00.000000000',\n", - " '2024-09-18T00:00:00.000000000', '2024-07-17T00:00:00.000000000',\n", - " '2024-06-12T00:00:00.000000000', '2024-05-22T00:00:00.000000000',\n", - " '2024-04-17T00:00:00.000000000', '2024-03-13T00:00:00.000000000',\n", - " '2024-02-14T00:00:00.000000000', '2023-12-13T00:00:00.000000000',\n", - " '2023-11-15T00:00:00.000000000', '2023-08-15T00:00:00.000000000',\n", - " '2023-07-12T00:00:00.000000000', '2023-03-15T00:00:00.000000000'],\n", - " dtype='datetime64[ns]')" + "'digest/operator_profiles'" ] }, - "execution_count": 5, + "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "operator_df.service_date.unique()" + "OPERATOR_FILE" ] }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 7, "id": "9ae9c383-a8ab-4916-a524-d108f927ee2e", "metadata": {}, "outputs": [ @@ -123,7 +126,7 @@ " dtype='object')" ] }, - "execution_count": 6, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -134,7 +137,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 8, "id": "bd29fe28-0b63-490b-ae1c-6e0a64ca3a37", "metadata": {}, "outputs": [ @@ -144,7 +147,7 @@ "173" ] }, - "execution_count": 7, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -155,7 +158,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 9, "id": "ac64c237-c4a6-44b4-850e-f6e16def495f", "metadata": {}, "outputs": [ @@ -165,7 +168,7 @@ "172" ] }, - "execution_count": 20, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -176,7 +179,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 10, "id": "8a28769c-8b5a-49c7-95d0-c4c6a5cf350c", "metadata": {}, "outputs": [ @@ -186,7 +189,7 @@ "157" ] }, - "execution_count": 21, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -195,10 +198,299 @@ "operator_df.organization_name.nunique()" ] }, + { + "cell_type": "markdown", + "id": "60f3035f-8d89-4d4a-992c-dd3b51a46ca6", + "metadata": {}, + "source": [ + "### View two names to one org examples: 15 of these cases.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "id": "449abea4-a64b-494c-99a9-7b52cdcfd565", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_agg = (\n", + " operator_df.groupby([\"caltrans_district\", \"organization_name\"])\n", + " .agg({\"name\": \"nunique\"})\n", + " .reset_index()\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "id": "881712a6-fcd0-41b1-92db-32f663abe406", + "metadata": {}, + "outputs": [], + "source": [ + "# Filter for orgs with more than two names\n", + "orgs_agg2 = orgs_agg.loc[orgs_agg.name > 1]" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "id": "aa2de21d-b237-4687-88c5-af8208d1875d", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "15" + ] + }, + "execution_count": 13, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "len(orgs_agg2)" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "id": "072fc9d6-85b2-4421-ab04-a63a16747d1a", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names = list(orgs_agg2.organization_name.unique())" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "id": "f5e558e3-b3bf-4874-a021-37910d6dcafe", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "Index(['schedule_gtfs_dataset_key', 'vp_per_min_agency',\n", + " 'spatial_accuracy_agency', 'service_date', 'operator_n_routes',\n", + " 'operator_n_trips', 'operator_n_shapes', 'operator_n_stops',\n", + " 'operator_n_arrivals', 'operator_route_length_miles',\n", + " 'operator_arrivals_per_stop', 'n_downtown_local_routes',\n", + " 'n_local_routes', 'n_coverage_routes', 'n_rapid_routes',\n", + " 'n_express_routes', 'n_rail_routes', 'name',\n", + " 'organization_source_record_id', 'organization_name',\n", + " 'caltrans_district', 'counties_served', 'service_area_sq_miles',\n", + " 'hq_city', 'uza_name', 'service_area_pop', 'organization_type',\n", + " 'primary_uza', 'reporter_type'],\n", + " dtype='object')" + ] + }, + "execution_count": 15, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "operator_df.columns" + ] + }, + { + "cell_type": "markdown", + "id": "f17502cb-0d12-4054-a9b9-ecb32fe09301", + "metadata": {}, + "source": [ + "### Filter out any orgs with 2+ names from the main df" + ] + }, + { + "cell_type": "code", + "execution_count": 16, + "id": "0adee967-a1ae-4833-91c9-e79a141899a5", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "list" + ] + }, + "execution_count": 16, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "type(orgs_with_2_names)" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "id": "f6acac80-6087-4eea-996b-e4dcb20a01d3", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "['Redwood Coast Transit Authority',\n", + " 'City of Roseville',\n", + " 'Tahoe Transportation District',\n", + " 'Mission Bay Transportation Management Agency',\n", + " 'Presidio Trust',\n", + " 'City of San Luis Obispo',\n", + " 'City of Downey',\n", + " 'City of Lawndale',\n", + " 'Los Angeles County Metropolitan Transportation Authority',\n", + " 'Basin Transit',\n", + " 'City of Beaumont',\n", + " 'Mountain Area Regional Transit Authority',\n", + " 'Palo Verde Valley Transit Agency',\n", + " 'Victor Valley Transit Authority',\n", + " 'Transit Joint Powers Authority for Merced County']" + ] + }, + "execution_count": 17, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "orgs_with_2_names" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "id": "286c050f-19c7-4d82-99ba-022688a2a6cf", + "metadata": {}, + "outputs": [], + "source": [ + "operator_df2 = operator_df.loc[\n", + " ~operator_df.organization_name.isin(orgs_with_2_names)\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "markdown", + "id": "7ad5f456-985f-4a7b-b5c9-709c40badd85", + "metadata": {}, + "source": [ + "### Filter out any names that are \"out of date\" for organizations with more than one name." + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "id": "8a05ff43-054e-45ed-9af4-2ec03f43b19f", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df = operator_df.loc[\n", + " operator_df.organization_name.isin(orgs_with_2_names)\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 20, + "id": "3fd4bdc9-5214-485a-88ec-80260a96de79", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(30, 29)" + ] + }, + "execution_count": 20, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "orgs_with_2_names_df.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "id": "99d7e601-c6d6-449d-82f6-f8611fe35321", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "15" + ] + }, + "execution_count": 21, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "orgs_with_2_names_df.organization_name.nunique()" + ] + }, { "cell_type": "code", "execution_count": 22, - "id": "d5115797-db04-49ae-841a-4c573349dea5", + "id": "a4db9799-c6e4-48a5-ba89-9f0681983fa0", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df2 = orgs_with_2_names_df.sort_values(\n", + " by=[\"organization_name\", \"service_date\"], ascending=[True, False]\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "id": "f09b53ba-50ae-439b-a0f0-3509501ebea8", + "metadata": {}, + "outputs": [], + "source": [ + "comparison_date = orgs_with_2_names_df2[\"service_date\"].max() - pd.DateOffset(months=3)" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "id": "deaa455f-7dc6-45df-b9e1-7febc02f496b", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "Timestamp('2024-08-13 00:00:00')" + ] + }, + "execution_count": 24, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "comparison_date" + ] + }, + { + "cell_type": "code", + "execution_count": 25, + "id": "6e7832b0-1cdd-42f7-a306-6d13dba399f3", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df3 = orgs_with_2_names_df2[\n", + " orgs_with_2_names_df2[\"service_date\"] >= comparison_date\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 26, + "id": "f923d526-eea7-4e6f-8534-4e1252265d2d", "metadata": { "scrolled": true, "tags": [] @@ -225,1794 +517,1112 @@ " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", - " <th>name</th>\n", " <th>organization_name</th>\n", - " <th>caltrans_district</th>\n", + " <th>name</th>\n", " <th>service_date</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <th>0</th>\n", - " <td>Alhambra Schedule</td>\n", - " <td>City of Alhambra</td>\n", - " <td>07 - Los Angeles</td>\n", + " <td>Basin Transit</td>\n", + " <td>Basin Transit GMV Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>1</th>\n", - " <td>Amador Schedule</td>\n", - " <td>Amador Regional Transit System</td>\n", - " <td>10 - Stockton</td>\n", + " <th>12</th>\n", + " <td>Basin Transit</td>\n", + " <td>Morongo Basin Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>2</th>\n", - " <td>Antelope Valley Transit Authority Schedule</td>\n", - " <td>Antelope Valley Transit Authority</td>\n", - " <td>07 - Los Angeles</td>\n", + " <th>3</th>\n", + " <td>City of Beaumont</td>\n", + " <td>Beaumont Transit Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>3</th>\n", - " <td>Arvin Schedule</td>\n", - " <td>City of Arvin</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", + " <th>24</th>\n", + " <td>City of Beaumont</td>\n", + " <td>Beaumont Pass Schedule</td>\n", + " <td>2024-10-16</td>\n", " </tr>\n", " <tr>\n", - " <th>4</th>\n", - " <td>Auburn Schedule</td>\n", - " <td>City of Auburn</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>5</th>\n", - " <td>B-Line Schedule</td>\n", - " <td>Butte County Association of Governments</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>6</th>\n", - " <td>Banning Pass Schedule</td>\n", - " <td>City of Banning</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>7</th>\n", - " <td>Basin Transit GMV Schedule</td>\n", - " <td>Basin Transit</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", + " <th>26</th>\n", + " <td>City of Downey</td>\n", + " <td>DowneyLINK GMV Schedule</td>\n", + " <td>2024-09-18</td>\n", " </tr>\n", " <tr>\n", " <th>8</th>\n", - " <td>Bay Area 511 AC Transit Schedule</td>\n", - " <td>Alameda-Contra Costa Transit District</td>\n", - " <td>04 - Oakland</td>\n", + " <td>City of Lawndale</td>\n", + " <td>Lawndale Beat GMV Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", " <th>9</th>\n", - " <td>Bay Area 511 BART Schedule</td>\n", - " <td>San Francisco Bay Area Rapid Transit District</td>\n", - " <td>04 - Oakland</td>\n", + " <td>City of Lawndale</td>\n", + " <td>Lawndale Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>10</th>\n", - " <td>Bay Area 511 Capitol Corridor Schedule</td>\n", - " <td>Capitol Corridor Joint Powers Authority</td>\n", - " <td>04 - Oakland</td>\n", + " <th>16</th>\n", + " <td>City of Roseville</td>\n", + " <td>Roseville Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>11</th>\n", - " <td>Bay Area 511 Commute.org Schedule</td>\n", - " <td>City of Menlo Park</td>\n", - " <td>04 - Oakland</td>\n", + " <th>17</th>\n", + " <td>City of Roseville</td>\n", + " <td>Roseville Transit GMV Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>12</th>\n", - " <td>Bay Area 511 County Connection Schedule</td>\n", - " <td>Central Contra Costa Transit Authority</td>\n", - " <td>04 - Oakland</td>\n", + " <th>18</th>\n", + " <td>City of San Luis Obispo</td>\n", + " <td>SLO Peak Transit Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>13</th>\n", - " <td>Bay Area 511 Fairfield and Suisun Transit Schedule</td>\n", - " <td>City of Fairfield</td>\n", - " <td>04 - Oakland</td>\n", + " <th>19</th>\n", + " <td>City of San Luis Obispo</td>\n", + " <td>SLO Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>14</th>\n", - " <td>Bay Area 511 MVGO Schedule</td>\n", - " <td>Mountain View Transportation Management Association</td>\n", - " <td>04 - Oakland</td>\n", + " <th>6</th>\n", + " <td>Los Angeles County Metropolitan Transportation Authority</td>\n", + " <td>LA Metro Bus Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>15</th>\n", - " <td>Bay Area 511 Marin Schedule</td>\n", - " <td>Marin County Transit District</td>\n", - " <td>04 - Oakland</td>\n", + " <th>7</th>\n", + " <td>Los Angeles County Metropolitan Transportation Authority</td>\n", + " <td>LA Metro Rail Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>16</th>\n", - " <td>Bay Area 511 Mission Bay Schedule</td>\n", + " <th>1</th>\n", " <td>Mission Bay Transportation Management Agency</td>\n", - " <td>04 - Oakland</td>\n", + " <td>Bay Area 511 Mission Bay Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>17</th>\n", - " <td>Bay Area 511 Mountain View Community Shuttle Schedule</td>\n", - " <td>City of Mountain View</td>\n", - " <td>04 - Oakland</td>\n", + " <th>13</th>\n", + " <td>Mountain Area Regional Transit Authority</td>\n", + " <td>Mountain Transit GMV Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>18</th>\n", - " <td>Bay Area 511 Muni Schedule</td>\n", - " <td>City and County of San Francisco</td>\n", - " <td>04 - Oakland</td>\n", + " <th>14</th>\n", + " <td>Mountain Area Regional Transit Authority</td>\n", + " <td>Mountain Transit Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>19</th>\n", - " <td>Bay Area 511 Petaluma Schedule</td>\n", - " <td>City of Petaluma</td>\n", - " <td>04 - Oakland</td>\n", + " <th>4</th>\n", + " <td>Palo Verde Valley Transit Agency</td>\n", + " <td>Desert Roadrunner GMV Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>20</th>\n", - " <td>Bay Area 511 PresidiGo Schedule</td>\n", - " <td>Presidio Trust</td>\n", - " <td>04 - Oakland</td>\n", + " <th>5</th>\n", + " <td>Palo Verde Valley Transit Agency</td>\n", + " <td>Desert Roadrunner Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>21</th>\n", - " <td>Bay Area 511 Rio Vista Delta Breeze Schedule</td>\n", - " <td>City of Rio Vista</td>\n", - " <td>04 - Oakland</td>\n", + " <th>2</th>\n", + " <td>Presidio Trust</td>\n", + " <td>Bay Area 511 PresidiGo Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>22</th>\n", - " <td>Bay Area 511 SamTrans Schedule</td>\n", - " <td>San Mateo County Transit District</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-11-13</td>\n", + " <th>25</th>\n", + " <td>Presidio Trust</td>\n", + " <td>PresidiGo Schedule</td>\n", + " <td>2024-10-16</td>\n", " </tr>\n", " <tr>\n", - " <th>23</th>\n", - " <td>Bay Area 511 Santa Clara Transit Schedule</td>\n", - " <td>Santa Clara Valley Transportation Authority</td>\n", - " <td>04 - Oakland</td>\n", + " <th>15</th>\n", + " <td>Redwood Coast Transit Authority</td>\n", + " <td>Redwood Coast Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>24</th>\n", - " <td>Bay Area 511 Santa Rosa CityBus Schedule</td>\n", - " <td>City of Santa Rosa</td>\n", - " <td>04 - Oakland</td>\n", + " <th>20</th>\n", + " <td>Tahoe Transportation District</td>\n", + " <td>Tahoe Transportation District GMV Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>25</th>\n", - " <td>Bay Area 511 SolTrans Schedule</td>\n", - " <td>Solano County Transit</td>\n", - " <td>04 - Oakland</td>\n", + " <th>21</th>\n", + " <td>Tahoe Transportation District</td>\n", + " <td>Tahoe Transportation District Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>26</th>\n", - " <td>Bay Area 511 Sonoma County Transit Schedule</td>\n", - " <td>Sonoma County</td>\n", - " <td>04 - Oakland</td>\n", + " <th>10</th>\n", + " <td>Transit Joint Powers Authority for Merced County</td>\n", + " <td>Merced GMV Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>27</th>\n", - " <td>Bay Area 511 South San Francisco Shuttle Schedule</td>\n", - " <td>City of South San Francisco</td>\n", - " <td>04 - Oakland</td>\n", + " <th>11</th>\n", + " <td>Transit Joint Powers Authority for Merced County</td>\n", + " <td>Merced Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>28</th>\n", - " <td>Bay Area 511 Tri Delta Schedule</td>\n", - " <td>Eastern Contra Costa Transit Authority</td>\n", - " <td>04 - Oakland</td>\n", + " <th>22</th>\n", + " <td>Victor Valley Transit Authority</td>\n", + " <td>Victor Valley GMV Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", " <tr>\n", - " <th>29</th>\n", - " <td>Bay Area 511 Tri-Valley Wheels Schedule</td>\n", - " <td>Livermore-Amador Valley Transit Authority</td>\n", - " <td>04 - Oakland</td>\n", + " <th>23</th>\n", + " <td>Victor Valley Transit Authority</td>\n", + " <td>Victor Valley Schedule</td>\n", " <td>2024-11-13</td>\n", " </tr>\n", - " <tr>\n", - " <th>30</th>\n", - " <td>Bay Area 511 Union City Transit Schedule</td>\n", - " <td>City of Union City</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-11-13</td>\n", + " </tbody>\n", + "</table>\n", + "</div>" + ], + "text/plain": [ + " organization_name \\\n", + "0 Basin Transit \n", + "12 Basin Transit \n", + "3 City of Beaumont \n", + "24 City of Beaumont \n", + "26 City of Downey \n", + "8 City of Lawndale \n", + "9 City of Lawndale \n", + "16 City of Roseville \n", + "17 City of Roseville \n", + "18 City of San Luis Obispo \n", + "19 City of San Luis Obispo \n", + "6 Los Angeles County Metropolitan Transportation Authority \n", + "7 Los Angeles County Metropolitan Transportation Authority \n", + "1 Mission Bay Transportation Management Agency \n", + "13 Mountain Area Regional Transit Authority \n", + "14 Mountain Area Regional Transit Authority \n", + "4 Palo Verde Valley Transit Agency \n", + "5 Palo Verde Valley Transit Agency \n", + "2 Presidio Trust \n", + "25 Presidio Trust \n", + "15 Redwood Coast Transit Authority \n", + "20 Tahoe Transportation District \n", + "21 Tahoe Transportation District \n", + "10 Transit Joint Powers Authority for Merced County \n", + "11 Transit Joint Powers Authority for Merced County \n", + "22 Victor Valley Transit Authority \n", + "23 Victor Valley Transit Authority \n", + "\n", + " name service_date \n", + "0 Basin Transit GMV Schedule 2024-11-13 \n", + "12 Morongo Basin Schedule 2024-11-13 \n", + "3 Beaumont Transit Schedule 2024-11-13 \n", + "24 Beaumont Pass Schedule 2024-10-16 \n", + "26 DowneyLINK GMV Schedule 2024-09-18 \n", + "8 Lawndale Beat GMV Schedule 2024-11-13 \n", + "9 Lawndale Schedule 2024-11-13 \n", + "16 Roseville Schedule 2024-11-13 \n", + "17 Roseville Transit GMV Schedule 2024-11-13 \n", + "18 SLO Peak Transit Schedule 2024-11-13 \n", + "19 SLO Schedule 2024-11-13 \n", + "6 LA Metro Bus Schedule 2024-11-13 \n", + "7 LA Metro Rail Schedule 2024-11-13 \n", + "1 Bay Area 511 Mission Bay Schedule 2024-11-13 \n", + "13 Mountain Transit GMV Schedule 2024-11-13 \n", + "14 Mountain Transit Schedule 2024-11-13 \n", + "4 Desert Roadrunner GMV Schedule 2024-11-13 \n", + "5 Desert Roadrunner Schedule 2024-11-13 \n", + "2 Bay Area 511 PresidiGo Schedule 2024-11-13 \n", + "25 PresidiGo Schedule 2024-10-16 \n", + "15 Redwood Coast Schedule 2024-11-13 \n", + "20 Tahoe Transportation District GMV Schedule 2024-11-13 \n", + "21 Tahoe Transportation District Schedule 2024-11-13 \n", + "10 Merced GMV Schedule 2024-11-13 \n", + "11 Merced Schedule 2024-11-13 \n", + "22 Victor Valley GMV Schedule 2024-11-13 \n", + "23 Victor Valley Schedule 2024-11-13 " + ] + }, + "execution_count": 26, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "orgs_with_2_names_df3[[\"organization_name\", \"name\", \"service_date\"]]" + ] + }, + { + "cell_type": "markdown", + "id": "7d902532-af1d-44d2-822c-8bfa94d3de8a", + "metadata": {}, + "source": [ + "### Filter out any rows in which `vp_per_min_agency` and `spatial_accuracy_agency` is less than 0 and still has 2+ names " + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "id": "711554bd-1920-4911-8eea-b892a00a7c28", + "metadata": {}, + "outputs": [], + "source": [ + "# Calcualte orgs that still have 2+ names\n", + "orgs_with_2_names = (\n", + " orgs_with_2_names_df3.groupby([\"organization_name\"])\n", + " .agg({\"name\": \"nunique\"})\n", + " .reset_index()\n", + " .rename(columns={\"name\": \"n_names\"})\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "id": "039a22a2-e8cf-4b6c-ac3d-ddc49c1ef217", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "<div>\n", + "<style scoped>\n", + " .dataframe tbody tr th:only-of-type {\n", + " vertical-align: middle;\n", + " }\n", + "\n", + " .dataframe tbody tr th {\n", + " vertical-align: top;\n", + " }\n", + "\n", + " .dataframe thead th {\n", + " text-align: right;\n", + " }\n", + "</style>\n", + "<table border=\"1\" class=\"dataframe\">\n", + " <thead>\n", + " <tr style=\"text-align: right;\">\n", + " <th></th>\n", + " <th>organization_name</th>\n", + " <th>n_names</th>\n", " </tr>\n", + " </thead>\n", + " <tbody>\n", " <tr>\n", - " <th>31</th>\n", - " <td>Bay Area 511 Vacaville City Coach Schedule</td>\n", - " <td>City of Vacaville</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-11-13</td>\n", + " <th>0</th>\n", + " <td>Basin Transit</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>32</th>\n", - " <td>Bay Area 511 Vine Transit Schedule</td>\n", - " <td>Napa Valley Transportation Authority</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-11-13</td>\n", + " <th>1</th>\n", + " <td>City of Beaumont</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>33</th>\n", - " <td>Bay Area 511 WestCAT Schedule</td>\n", - " <td>Western Contra Costa Transit Authority</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-11-13</td>\n", + " <th>2</th>\n", + " <td>City of Downey</td>\n", + " <td>1</td>\n", " </tr>\n", " <tr>\n", - " <th>34</th>\n", - " <td>Beach Cities GMV Schedule</td>\n", - " <td>City of Redondo Beach</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>3</th>\n", + " <td>City of Lawndale</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>35</th>\n", - " <td>Bear Schedule</td>\n", - " <td>University of California, Berkeley</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-11-13</td>\n", + " <th>4</th>\n", + " <td>City of Roseville</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>36</th>\n", - " <td>Beaumont Transit Schedule</td>\n", - " <td>City of Beaumont</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", + " <th>5</th>\n", + " <td>City of San Luis Obispo</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>37</th>\n", - " <td>Bellflower Bus Schedule</td>\n", - " <td>City of Bellflower</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>6</th>\n", + " <td>Los Angeles County Metropolitan Transportation Authority</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>38</th>\n", - " <td>Big Blue Bus Schedule</td>\n", - " <td>City of Santa Monica</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>7</th>\n", + " <td>Mission Bay Transportation Management Agency</td>\n", + " <td>1</td>\n", " </tr>\n", " <tr>\n", - " <th>39</th>\n", - " <td>BruinBus Schedule</td>\n", - " <td>University of California, Los Angeles</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>8</th>\n", + " <td>Mountain Area Regional Transit Authority</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>40</th>\n", - " <td>Burbank Schedule</td>\n", - " <td>City of Burbank</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>9</th>\n", + " <td>Palo Verde Valley Transit Agency</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>41</th>\n", - " <td>Calabasas Schedule</td>\n", - " <td>City of Calabasas</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>10</th>\n", + " <td>Presidio Trust</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>42</th>\n", - " <td>Calaveras Schedule</td>\n", - " <td>Calaveras Transit Agency</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", + " <th>11</th>\n", + " <td>Redwood Coast Transit Authority</td>\n", + " <td>1</td>\n", " </tr>\n", " <tr>\n", - " <th>43</th>\n", - " <td>Cerritos on Wheels Website Schedule</td>\n", - " <td>City of Cerritos</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>12</th>\n", + " <td>Tahoe Transportation District</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>44</th>\n", - " <td>Clean Air Express Schedule</td>\n", - " <td>Santa Barbara County Association of Governments</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " <th>13</th>\n", + " <td>Transit Joint Powers Authority for Merced County</td>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>45</th>\n", - " <td>Clovis Schedule</td>\n", - " <td>City of Clovis</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", + " <th>14</th>\n", + " <td>Victor Valley Transit Authority</td>\n", + " <td>2</td>\n", " </tr>\n", - " <tr>\n", - " <th>46</th>\n", - " <td>Commerce Schedule</td>\n", - " <td>City of Commerce</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>47</th>\n", - " <td>Corona Schedule</td>\n", - " <td>City of Corona</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>48</th>\n", - " <td>County Express Schedule</td>\n", - " <td>San Benito County Local Transportation Authority</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>49</th>\n", - " <td>Culver City Schedule</td>\n", - " <td>City of Culver City</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>50</th>\n", - " <td>Delano Schedule</td>\n", - " <td>City of Delano</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>51</th>\n", - " <td>Desert Roadrunner GMV Schedule</td>\n", - " <td>Palo Verde Valley Transit Agency</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>52</th>\n", - " <td>Desert Roadrunner Schedule</td>\n", - " <td>Palo Verde Valley Transit Agency</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>53</th>\n", - " <td>Eastern Sierra Schedule</td>\n", - " <td>Eastern Sierra Transit Authority</td>\n", - " <td>09 - Bishop</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>54</th>\n", - " <td>El Dorado Schedule</td>\n", - " <td>El Dorado County Transit Authority</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " </tbody>\n", + "</table>\n", + "</div>" + ], + "text/plain": [ + " organization_name n_names\n", + "0 Basin Transit 2\n", + "1 City of Beaumont 2\n", + "2 City of Downey 1\n", + "3 City of Lawndale 2\n", + "4 City of Roseville 2\n", + "5 City of San Luis Obispo 2\n", + "6 Los Angeles County Metropolitan Transportation Authority 2\n", + "7 Mission Bay Transportation Management Agency 1\n", + "8 Mountain Area Regional Transit Authority 2\n", + "9 Palo Verde Valley Transit Agency 2\n", + "10 Presidio Trust 2\n", + "11 Redwood Coast Transit Authority 1\n", + "12 Tahoe Transportation District 2\n", + "13 Transit Joint Powers Authority for Merced County 2\n", + "14 Victor Valley Transit Authority 2" + ] + }, + "execution_count": 28, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "orgs_with_2_names" + ] + }, + { + "cell_type": "code", + "execution_count": 29, + "id": "106c611e-74a0-46ba-a89d-5e1be4b83e90", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df3 = pd.merge(\n", + " orgs_with_2_names_df3, orgs_with_2_names, on=\"organization_name\", how=\"left\"\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 30, + "id": "bae3148e-a5ae-4f4d-b795-595e7fa87fc5", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df4 = orgs_with_2_names_df3[\n", + " (orgs_with_2_names_df3.vp_per_min_agency > 0)\n", + " & (orgs_with_2_names_df3.spatial_accuracy_agency > 0)\n", + " & (orgs_with_2_names_df3.n_names > 1)\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "markdown", + "id": "7057e64d-6152-47cb-abd6-62200ecf4bc3", + "metadata": {}, + "source": [ + "#### Filter out any rows that are not equal to the `service_date`" + ] + }, + { + "cell_type": "code", + "execution_count": 31, + "id": "b2167b90-7484-476f-b6a7-1baf2648e277", + "metadata": {}, + "outputs": [], + "source": [ + "#analysis_date = rt_dates.DATES.popitem()" + ] + }, + { + "cell_type": "code", + "execution_count": 32, + "id": "7c53a48f-e50d-4ebd-b252-7338b4a585fc", + "metadata": {}, + "outputs": [], + "source": [ + "#analysis_date = analysis_date[-1]" + ] + }, + { + "cell_type": "code", + "execution_count": 33, + "id": "5c4d6c90-f897-448d-b002-acc36b9341f6", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df5 = orgs_with_2_names_df4.loc[\n", + " orgs_with_2_names_df4.service_date == analysis_date\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 34, + "id": "17a39cbd-8054-4287-ae50-58f2d4f3ec0e", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "9" + ] + }, + "execution_count": 34, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "orgs_with_2_names_df5.organization_name.nunique()" + ] + }, + { + "cell_type": "code", + "execution_count": 35, + "id": "66c7b99a-958a-41d9-a0ea-93ec01b204a2", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(10, 30)" + ] + }, + "execution_count": 35, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "orgs_with_2_names_df5.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 36, + "id": "5c4e174e-a840-4ad1-944b-308bf8eed5f3", + "metadata": { + "tags": [] + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Basin Transit\n" + ] + }, + { + "data": { + "text/html": [ + "<div>\n", + "<style scoped>\n", + " .dataframe tbody tr th:only-of-type {\n", + " vertical-align: middle;\n", + " }\n", + "\n", + " .dataframe tbody tr th {\n", + " vertical-align: top;\n", + " }\n", + "\n", + " .dataframe thead th {\n", + " text-align: right;\n", + " }\n", + "</style>\n", + "<table border=\"1\" class=\"dataframe\">\n", + " <thead>\n", + " <tr style=\"text-align: right;\">\n", + " <th></th>\n", + " <th>0</th>\n", " </tr>\n", + " </thead>\n", + " <tbody>\n", " <tr>\n", - " <th>55</th>\n", - " <td>El Monte Schedule</td>\n", - " <td>City of El Monte</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>schedule_gtfs_dataset_key</th>\n", + " <td>a7f5522d7690161fc2be75857d7e2f79</td>\n", " </tr>\n", " <tr>\n", - " <th>56</th>\n", - " <td>Elk Grove Schedule</td>\n", - " <td>City of Elk Grove</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>vp_per_min_agency</th>\n", + " <td>1.35</td>\n", " </tr>\n", " <tr>\n", - " <th>57</th>\n", - " <td>Flixbus Schedule</td>\n", - " <td>Greyhound</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>spatial_accuracy_agency</th>\n", + " <td>90.85</td>\n", " </tr>\n", " <tr>\n", - " <th>58</th>\n", - " <td>Foothill Schedule</td>\n", - " <td>City of Duarte</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>service_date</th>\n", + " <td>2024-11-13 00:00:00</td>\n", " </tr>\n", " <tr>\n", - " <th>59</th>\n", - " <td>Fresno County Schedule</td>\n", - " <td>Fresno County Rural Transit Agency</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_routes</th>\n", + " <td>7.00</td>\n", " </tr>\n", " <tr>\n", - " <th>60</th>\n", - " <td>Fresno Schedule</td>\n", - " <td>City of Fresno</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_trips</th>\n", + " <td>86.00</td>\n", " </tr>\n", " <tr>\n", - " <th>61</th>\n", - " <td>G Trans Schedule</td>\n", - " <td>City of Gardena</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_shapes</th>\n", + " <td>16.00</td>\n", " </tr>\n", " <tr>\n", - " <th>62</th>\n", - " <td>GET Schedule</td>\n", - " <td>Golden Empire Transit District</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_stops</th>\n", + " <td>170.00</td>\n", " </tr>\n", " <tr>\n", - " <th>63</th>\n", - " <td>Get Around Town Express Schedule</td>\n", - " <td>City of South Gate</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_arrivals</th>\n", + " <td>2471.00</td>\n", " </tr>\n", " <tr>\n", - " <th>64</th>\n", - " <td>Glendora Schedule</td>\n", - " <td>City of Glendora</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_route_length_miles</th>\n", + " <td>184.36</td>\n", " </tr>\n", " <tr>\n", - " <th>65</th>\n", - " <td>Glenn Schedule</td>\n", - " <td>Glenn County</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_arrivals_per_stop</th>\n", + " <td>14.54</td>\n", " </tr>\n", " <tr>\n", - " <th>66</th>\n", - " <td>Go West Schedule</td>\n", - " <td>City of West Covina</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_downtown_local_routes</th>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", - " <th>67</th>\n", - " <td>Grapeline Schedule</td>\n", - " <td>City of Lodi</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_local_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>68</th>\n", - " <td>Guadalupe Flyer Schedule</td>\n", - " <td>City of Guadalupe</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_coverage_routes</th>\n", + " <td>9.00</td>\n", " </tr>\n", " <tr>\n", - " <th>69</th>\n", - " <td>Humboldt Schedule</td>\n", - " <td>City of Eureka</td>\n", - " <td>01 - Eureka</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_rapid_routes</th>\n", + " <td>5.00</td>\n", " </tr>\n", " <tr>\n", - " <th>70</th>\n", - " <td>Huntington Schedule</td>\n", - " <td>City of Huntington Park</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_express_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>71</th>\n", - " <td>Imperial Valley Transit Schedule</td>\n", - " <td>Imperial County Transportation Commission</td>\n", - " <td>11 - San Diego</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_rail_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>72</th>\n", - " <td>Inglewood Schedule</td>\n", - " <td>City of Inglewood</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>name</th>\n", + " <td>Basin Transit GMV Schedule</td>\n", " </tr>\n", " <tr>\n", - " <th>73</th>\n", - " <td>Kern Schedule</td>\n", - " <td>Kern County</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", + " <th>organization_source_record_id</th>\n", + " <td>recniaSbsXcRSLsWe</td>\n", " </tr>\n", " <tr>\n", - " <th>74</th>\n", - " <td>Kings Schedule</td>\n", - " <td>Kings County Area Public Transit Agency</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", + " <th>organization_name</th>\n", + " <td>Basin Transit</td>\n", " </tr>\n", " <tr>\n", - " <th>75</th>\n", - " <td>LA DOT Schedule</td>\n", - " <td>City of Los Angeles</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>caltrans_district</th>\n", + " <td>08 - San Bernardino</td>\n", " </tr>\n", " <tr>\n", - " <th>76</th>\n", - " <td>LA Metro Bus Schedule</td>\n", - " <td>Los Angeles County Metropolitan Transportation Authority</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>counties_served</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>77</th>\n", - " <td>LA Metro Rail Schedule</td>\n", - " <td>Los Angeles County Metropolitan Transportation Authority</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>service_area_sq_miles</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>78</th>\n", - " <td>LADPW Schedule</td>\n", - " <td>Los Angeles County</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>hq_city</th>\n", + " <td>Joshua Tree</td>\n", " </tr>\n", " <tr>\n", - " <th>79</th>\n", - " <td>LAX FlyAway Schedule</td>\n", - " <td>Los Angeles World Airports</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>uza_name</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>80</th>\n", - " <td>La Campana Schedule</td>\n", - " <td>City of Bell</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>service_area_pop</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>81</th>\n", - " <td>La Puente Schedule</td>\n", - " <td>City of La Puente</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>organization_type</th>\n", + " <td>Public Agency or Authority of Transit Service</td>\n", " </tr>\n", " <tr>\n", - " <th>82</th>\n", - " <td>Laguna Beach Schedule</td>\n", - " <td>City of Laguna Beach</td>\n", - " <td>12 - Irvine</td>\n", - " <td>2024-11-13</td>\n", + " <th>primary_uza</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>83</th>\n", - " <td>Lake Schedule</td>\n", - " <td>Lake Transit Authority</td>\n", - " <td>01 - Eureka</td>\n", - " <td>2024-11-13</td>\n", + " <th>reporter_type</th>\n", + " <td>Rural Reporter</td>\n", " </tr>\n", " <tr>\n", - " <th>84</th>\n", - " <td>Lassen Schedule</td>\n", - " <td>Lassen Transit Service Agency</td>\n", - " <td>02 - Redding</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_names</th>\n", + " <td>2</td>\n", " </tr>\n", - " <tr>\n", - " <th>85</th>\n", - " <td>Lawndale Beat GMV Schedule</td>\n", - " <td>City of Lawndale</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " </tbody>\n", + "</table>\n", + "</div>" + ], + "text/plain": [ + " 0\n", + "schedule_gtfs_dataset_key a7f5522d7690161fc2be75857d7e2f79\n", + "vp_per_min_agency 1.35\n", + "spatial_accuracy_agency 90.85\n", + "service_date 2024-11-13 00:00:00\n", + "operator_n_routes 7.00\n", + "operator_n_trips 86.00\n", + "operator_n_shapes 16.00\n", + "operator_n_stops 170.00\n", + "operator_n_arrivals 2471.00\n", + "operator_route_length_miles 184.36\n", + "operator_arrivals_per_stop 14.54\n", + "n_downtown_local_routes 2.00\n", + "n_local_routes 0.00\n", + "n_coverage_routes 9.00\n", + "n_rapid_routes 5.00\n", + "n_express_routes 0.00\n", + "n_rail_routes 0.00\n", + "name Basin Transit GMV Schedule\n", + "organization_source_record_id recniaSbsXcRSLsWe\n", + "organization_name Basin Transit\n", + "caltrans_district 08 - San Bernardino\n", + "counties_served 0\n", + "service_area_sq_miles 0\n", + "hq_city Joshua Tree\n", + "uza_name 0\n", + "service_area_pop 0\n", + "organization_type Public Agency or Authority of Transit Service\n", + "primary_uza 0\n", + "reporter_type Rural Reporter\n", + "n_names 2" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "City of Beaumont\n" + ] + }, + { + "data": { + "text/html": [ + "<div>\n", + "<style scoped>\n", + " .dataframe tbody tr th:only-of-type {\n", + " vertical-align: middle;\n", + " }\n", + "\n", + " .dataframe tbody tr th {\n", + " vertical-align: top;\n", + " }\n", + "\n", + " .dataframe thead th {\n", + " text-align: right;\n", + " }\n", + "</style>\n", + "<table border=\"1\" class=\"dataframe\">\n", + " <thead>\n", + " <tr style=\"text-align: right;\">\n", + " <th></th>\n", + " <th>1</th>\n", " </tr>\n", + " </thead>\n", + " <tbody>\n", " <tr>\n", - " <th>86</th>\n", - " <td>Lawndale Schedule</td>\n", - " <td>City of Lawndale</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>schedule_gtfs_dataset_key</th>\n", + " <td>7f6e96ebfc0675bfda4f68874aa1466d</td>\n", " </tr>\n", " <tr>\n", - " <th>87</th>\n", - " <td>Long Beach Schedule</td>\n", - " <td>Long Beach Transit</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>vp_per_min_agency</th>\n", + " <td>2.96</td>\n", " </tr>\n", " <tr>\n", - " <th>88</th>\n", - " <td>Madera County Connection Schedule</td>\n", - " <td>Madera County</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", + " <th>spatial_accuracy_agency</th>\n", + " <td>90.21</td>\n", " </tr>\n", " <tr>\n", - " <th>89</th>\n", - " <td>Madera Metro Schedule</td>\n", - " <td>City of Madera</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", + " <th>service_date</th>\n", + " <td>2024-11-13 00:00:00</td>\n", " </tr>\n", " <tr>\n", - " <th>90</th>\n", - " <td>Maywood Schedule</td>\n", - " <td>City of Maywood</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_routes</th>\n", + " <td>8.00</td>\n", " </tr>\n", " <tr>\n", - " <th>91</th>\n", - " <td>Mendocino Schedule</td>\n", - " <td>Mendocino Transit Authority</td>\n", - " <td>01 - Eureka</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_trips</th>\n", + " <td>125.00</td>\n", " </tr>\n", " <tr>\n", - " <th>92</th>\n", - " <td>Merced GMV Schedule</td>\n", - " <td>Transit Joint Powers Authority for Merced County</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_shapes</th>\n", + " <td>30.00</td>\n", " </tr>\n", " <tr>\n", - " <th>93</th>\n", - " <td>Merced Schedule</td>\n", - " <td>Transit Joint Powers Authority for Merced County</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_stops</th>\n", + " <td>126.00</td>\n", " </tr>\n", " <tr>\n", - " <th>94</th>\n", - " <td>Monterey Salinas Schedule</td>\n", - " <td>Monterey-Salinas Transit</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_arrivals</th>\n", + " <td>1530.00</td>\n", " </tr>\n", " <tr>\n", - " <th>95</th>\n", - " <td>Morongo Basin Schedule</td>\n", - " <td>Basin Transit</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_route_length_miles</th>\n", + " <td>126.03</td>\n", " </tr>\n", " <tr>\n", - " <th>96</th>\n", - " <td>Mountain Transit GMV Schedule</td>\n", - " <td>Mountain Area Regional Transit Authority</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_arrivals_per_stop</th>\n", + " <td>12.14</td>\n", " </tr>\n", " <tr>\n", - " <th>97</th>\n", - " <td>Mountain Transit Schedule</td>\n", - " <td>Mountain Area Regional Transit Authority</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_downtown_local_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>98</th>\n", - " <td>Needles Schedule</td>\n", - " <td>City of Needles</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_local_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>99</th>\n", - " <td>Nevada County Schedule</td>\n", - " <td>Nevada County</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_coverage_routes</th>\n", + " <td>13.00</td>\n", " </tr>\n", " <tr>\n", - " <th>100</th>\n", - " <td>North County Schedule</td>\n", - " <td>North County Transit District</td>\n", - " <td>11 - San Diego</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_rapid_routes</th>\n", + " <td>10.00</td>\n", " </tr>\n", " <tr>\n", - " <th>101</th>\n", - " <td>Norwalk Avail Schedule</td>\n", - " <td>City of Norwalk</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_express_routes</th>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", - " <th>102</th>\n", - " <td>OCTA Schedule</td>\n", - " <td>Orange County Transportation Authority</td>\n", - " <td>12 - Irvine</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_rail_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>103</th>\n", - " <td>OmniTrans Schedule</td>\n", - " <td>OmniTrans</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", + " <th>name</th>\n", + " <td>Beaumont Transit Schedule</td>\n", " </tr>\n", " <tr>\n", - " <th>104</th>\n", - " <td>Palos Verdes PTA Schedule</td>\n", - " <td>Palos Verdes Peninsula Transit Authority</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>organization_source_record_id</th>\n", + " <td>reciWrBgYsAIm9eKK</td>\n", " </tr>\n", " <tr>\n", - " <th>105</th>\n", - " <td>Pasadena Schedule</td>\n", - " <td>City of Pasadena</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>organization_name</th>\n", + " <td>City of Beaumont</td>\n", " </tr>\n", " <tr>\n", - " <th>106</th>\n", - " <td>Placer Schedule</td>\n", - " <td>Placer County</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>caltrans_district</th>\n", + " <td>08 - San Bernardino</td>\n", " </tr>\n", " <tr>\n", - " <th>107</th>\n", - " <td>Plumas Schedule</td>\n", - " <td>Plumas Transit Systems</td>\n", - " <td>02 - Redding</td>\n", - " <td>2024-11-13</td>\n", + " <th>counties_served</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>108</th>\n", - " <td>Redding Schedule</td>\n", - " <td>Shasta County</td>\n", - " <td>02 - Redding</td>\n", - " <td>2024-11-13</td>\n", + " <th>service_area_sq_miles</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>109</th>\n", - " <td>Redwood Coast Schedule</td>\n", - " <td>Redwood Coast Transit Authority</td>\n", - " <td>01 - Eureka</td>\n", - " <td>2024-11-13</td>\n", + " <th>hq_city</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>110</th>\n", - " <td>Riverside Schedule</td>\n", - " <td>Riverside Transit Agency</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", + " <th>uza_name</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>111</th>\n", - " <td>Roseville Schedule</td>\n", - " <td>City of Roseville</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>service_area_pop</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>112</th>\n", - " <td>Roseville Transit GMV Schedule</td>\n", - " <td>City of Roseville</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>organization_type</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>113</th>\n", - " <td>SBMTD Schedule</td>\n", - " <td>Santa Barbara Metropolitan Transit District</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " <th>primary_uza</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>114</th>\n", - " <td>SLO Peak Transit Schedule</td>\n", - " <td>City of San Luis Obispo</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " <th>reporter_type</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>115</th>\n", - " <td>SLO Schedule</td>\n", - " <td>City of San Luis Obispo</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_names</th>\n", + " <td>2</td>\n", " </tr>\n", - " <tr>\n", - " <th>116</th>\n", - " <td>SLORTA Schedule</td>\n", - " <td>San Luis Obispo Regional Transit Authority</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " </tbody>\n", + "</table>\n", + "</div>" + ], + "text/plain": [ + " 1\n", + "schedule_gtfs_dataset_key 7f6e96ebfc0675bfda4f68874aa1466d\n", + "vp_per_min_agency 2.96\n", + "spatial_accuracy_agency 90.21\n", + "service_date 2024-11-13 00:00:00\n", + "operator_n_routes 8.00\n", + "operator_n_trips 125.00\n", + "operator_n_shapes 30.00\n", + "operator_n_stops 126.00\n", + "operator_n_arrivals 1530.00\n", + "operator_route_length_miles 126.03\n", + "operator_arrivals_per_stop 12.14\n", + "n_downtown_local_routes 0.00\n", + "n_local_routes 0.00\n", + "n_coverage_routes 13.00\n", + "n_rapid_routes 10.00\n", + "n_express_routes 2.00\n", + "n_rail_routes 0.00\n", + "name Beaumont Transit Schedule\n", + "organization_source_record_id reciWrBgYsAIm9eKK\n", + "organization_name City of Beaumont\n", + "caltrans_district 08 - San Bernardino\n", + "counties_served 0\n", + "service_area_sq_miles 0\n", + "hq_city 0\n", + "uza_name 0\n", + "service_area_pop 0\n", + "organization_type 0\n", + "primary_uza 0\n", + "reporter_type 0\n", + "n_names 2" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "City of Lawndale\n" + ] + }, + { + "data": { + "text/html": [ + "<div>\n", + "<style scoped>\n", + " .dataframe tbody tr th:only-of-type {\n", + " vertical-align: middle;\n", + " }\n", + "\n", + " .dataframe tbody tr th {\n", + " vertical-align: top;\n", + " }\n", + "\n", + " .dataframe thead th {\n", + " text-align: right;\n", + " }\n", + "</style>\n", + "<table border=\"1\" class=\"dataframe\">\n", + " <thead>\n", + " <tr style=\"text-align: right;\">\n", + " <th></th>\n", + " <th>3</th>\n", " </tr>\n", + " </thead>\n", + " <tbody>\n", " <tr>\n", - " <th>117</th>\n", - " <td>Sacramento Schedule</td>\n", - " <td>City of Rancho Cordova</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>schedule_gtfs_dataset_key</th>\n", + " <td>09a703757d1ed14ca9580b1385e39315</td>\n", " </tr>\n", " <tr>\n", - " <th>118</th>\n", - " <td>Sage Stage Schedule</td>\n", - " <td>Modoc Transportation Agency</td>\n", - " <td>02 - Redding</td>\n", - " <td>2024-11-13</td>\n", + " <th>vp_per_min_agency</th>\n", + " <td>2.65</td>\n", " </tr>\n", " <tr>\n", - " <th>119</th>\n", - " <td>San Diego Schedule</td>\n", - " <td>San Diego Metropolitan Transit System</td>\n", - " <td>11 - San Diego</td>\n", - " <td>2024-11-13</td>\n", + " <th>spatial_accuracy_agency</th>\n", + " <td>100.00</td>\n", " </tr>\n", " <tr>\n", - " <th>120</th>\n", - " <td>San Joaquin Schedule</td>\n", - " <td>San Joaquin Regional Transit District</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", + " <th>service_date</th>\n", + " <td>2024-11-13 00:00:00</td>\n", " </tr>\n", " <tr>\n", - " <th>121</th>\n", - " <td>Santa Clarita Schedule</td>\n", - " <td>City of Santa Clarita</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_routes</th>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", - " <th>122</th>\n", - " <td>Santa Cruz Schedule</td>\n", - " <td>Santa Cruz Metropolitan Transit District</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_trips</th>\n", + " <td>30.00</td>\n", " </tr>\n", " <tr>\n", - " <th>123</th>\n", - " <td>Santa Maria Schedule</td>\n", - " <td>City of Santa Maria</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_shapes</th>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", - " <th>124</th>\n", - " <td>Santa Ynez Mecatran Schedule</td>\n", - " <td>City of Solvang</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_stops</th>\n", + " <td>43.00</td>\n", " </tr>\n", " <tr>\n", - " <th>125</th>\n", - " <td>Siskiyou Schedule</td>\n", - " <td>Siskiyou County</td>\n", - " <td>02 - Redding</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_n_arrivals</th>\n", + " <td>698.00</td>\n", " </tr>\n", " <tr>\n", - " <th>126</th>\n", - " <td>South County Transit Link Schedule</td>\n", - " <td>Sacramento County</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_route_length_miles</th>\n", + " <td>17.92</td>\n", " </tr>\n", " <tr>\n", - " <th>127</th>\n", - " <td>StanRTA Schedule</td>\n", - " <td>Stanislaus Regional Transit Authority</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", + " <th>operator_arrivals_per_stop</th>\n", + " <td>16.23</td>\n", " </tr>\n", " <tr>\n", - " <th>128</th>\n", - " <td>Stanford Schedule</td>\n", - " <td>Stanford University</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_downtown_local_routes</th>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", - " <th>129</th>\n", - " <td>TART, North Lake Tahoe Schedule</td>\n", - " <td>North Lake Tahoe Express</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_local_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>130</th>\n", - " <td>Tahoe Transportation District GMV Schedule</td>\n", - " <td>Tahoe Transportation District</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_coverage_routes</th>\n", + " <td>1.00</td>\n", " </tr>\n", " <tr>\n", - " <th>131</th>\n", - " <td>Tahoe Transportation District Schedule</td>\n", - " <td>Tahoe Transportation District</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_rapid_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>132</th>\n", - " <td>Tehama Schedule</td>\n", - " <td>Tehama County</td>\n", - " <td>02 - Redding</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_express_routes</th>\n", + " <td>1.00</td>\n", " </tr>\n", " <tr>\n", - " <th>133</th>\n", - " <td>Torrance Schedule</td>\n", - " <td>City of Torrance</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", + " <th>n_rail_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>134</th>\n", - " <td>Tracy Schedule</td>\n", - " <td>City of Tracy</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", + " <th>name</th>\n", + " <td>Lawndale Beat GMV Schedule</td>\n", " </tr>\n", " <tr>\n", - " <th>135</th>\n", - " <td>Trinity Schedule</td>\n", - " <td>Trinity County</td>\n", - " <td>02 - Redding</td>\n", - " <td>2024-11-13</td>\n", + " <th>organization_source_record_id</th>\n", + " <td>recj8LXdeSurpSRNU</td>\n", " </tr>\n", " <tr>\n", - " <th>136</th>\n", - " <td>Turlock Schedule</td>\n", - " <td>City of Turlock</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>137</th>\n", - " <td>Unitrans Schedule</td>\n", - " <td>University of California, Davis</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>138</th>\n", - " <td>VCTC GMV Schedule</td>\n", - " <td>City of Ojai</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>139</th>\n", - " <td>Victor Valley GMV Schedule</td>\n", - " <td>Victor Valley Transit Authority</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>140</th>\n", - " <td>Victor Valley Schedule</td>\n", - " <td>Victor Valley Transit Authority</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>141</th>\n", - " <td>Visalia Schedule</td>\n", - " <td>City of Visalia</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>142</th>\n", - " <td>WeHo Schedule</td>\n", - " <td>City of West Hollywood</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>143</th>\n", - " <td>YARTS Schedule</td>\n", - " <td>Yosemite Area Regional Transportation System</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>144</th>\n", - " <td>Yolobus Schedule</td>\n", - " <td>Yolo County Transportation District</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>145</th>\n", - " <td>Yuba-Sutter Schedule</td>\n", - " <td>Yuba-Sutter Transit Authority</td>\n", - " <td>03 - Marysville</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>146</th>\n", - " <td>Yuma Schedule</td>\n", - " <td>Yuma County Intergovernmental Public Transportation Authority</td>\n", - " <td>11 - San Diego</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>147</th>\n", - " <td>eTrans Schedule</td>\n", - " <td>City of Escalon</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>148</th>\n", - " <td>None</td>\n", - " <td>None</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2024-11-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>149</th>\n", - " <td>Bay Area 511 Emery Go-Round Schedule</td>\n", - " <td>Emeryville Transportation Management Agency</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-10-16</td>\n", - " </tr>\n", - " <tr>\n", - " <th>150</th>\n", - " <td>Beaumont Pass Schedule</td>\n", - " <td>City of Beaumont</td>\n", - " <td>08 - San Bernardino</td>\n", - " <td>2024-10-16</td>\n", - " </tr>\n", - " <tr>\n", - " <th>151</th>\n", - " <td>PresidiGo Schedule</td>\n", - " <td>Presidio Trust</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-10-16</td>\n", - " </tr>\n", - " <tr>\n", - " <th>152</th>\n", - " <td>DowneyLINK GMV Schedule</td>\n", - " <td>City of Downey</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-09-18</td>\n", - " </tr>\n", - " <tr>\n", - " <th>153</th>\n", - " <td>Bell Gardens Schedule</td>\n", - " <td>City of Bell Gardens</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-07-17</td>\n", - " </tr>\n", - " <tr>\n", - " <th>154</th>\n", - " <td>Cudahy Schedule</td>\n", - " <td>City of Cudahy</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-07-17</td>\n", - " </tr>\n", - " <tr>\n", - " <th>155</th>\n", - " <td>Anteater Express Schedule</td>\n", - " <td>University of California, Irvine</td>\n", - " <td>12 - Irvine</td>\n", - " <td>2024-06-12</td>\n", - " </tr>\n", - " <tr>\n", - " <th>156</th>\n", - " <td>Lynwood Schedule</td>\n", - " <td>City of Lynwood</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-06-12</td>\n", - " </tr>\n", - " <tr>\n", - " <th>157</th>\n", - " <td>Manteca Schedule</td>\n", - " <td>City of Manteca</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2024-06-12</td>\n", - " </tr>\n", - " <tr>\n", - " <th>158</th>\n", - " <td>UCSC Schedule</td>\n", - " <td>University of California, Santa Cruz</td>\n", - " <td>05 - San Luis Obispo</td>\n", - " <td>2024-06-12</td>\n", - " </tr>\n", - " <tr>\n", - " <th>159</th>\n", - " <td>El Segundo Schedule</td>\n", - " <td>City of El Segundo</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-05-22</td>\n", - " </tr>\n", - " <tr>\n", - " <th>160</th>\n", - " <td>Redwood Coast Schedulel</td>\n", - " <td>Redwood Coast Transit Authority</td>\n", - " <td>01 - Eureka</td>\n", - " <td>2024-05-22</td>\n", - " </tr>\n", - " <tr>\n", - " <th>161</th>\n", - " <td>Baldwin Park Schedule</td>\n", - " <td>City of Baldwin Park</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-04-17</td>\n", + " <th>organization_name</th>\n", + " <td>City of Lawndale</td>\n", " </tr>\n", " <tr>\n", - " <th>162</th>\n", - " <td>Avalon Schedule</td>\n", - " <td>City of Avalon</td>\n", + " <th>caltrans_district</th>\n", " <td>07 - Los Angeles</td>\n", - " <td>2024-03-13</td>\n", - " </tr>\n", - " <tr>\n", - " <th>163</th>\n", - " <td>Bay Area 511 Dumbarton Express Schedule</td>\n", - " <td>Dumbarton Bridge Regional Operations Consortium</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-03-13</td>\n", " </tr>\n", " <tr>\n", - " <th>164</th>\n", - " <td>Bay Area 511 Golden Gate Transit Schedule</td>\n", - " <td>Golden Gate Bridge, Highway and Transportation District</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2024-03-13</td>\n", + " <th>counties_served</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>165</th>\n", - " <td>Rosemead Schedule</td>\n", - " <td>City of Rosemead</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2024-02-14</td>\n", + " <th>service_area_sq_miles</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>166</th>\n", - " <td>Arcadia Schedule</td>\n", - " <td>City of Arcadia</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2023-12-13</td>\n", + " <th>hq_city</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>167</th>\n", - " <td>DowneyLINK Schedule</td>\n", - " <td>City of Downey</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2023-12-13</td>\n", + " <th>uza_name</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>168</th>\n", - " <td>Spirit Bus Schedule</td>\n", - " <td>City of Monterey Park</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2023-12-13</td>\n", + " <th>service_area_pop</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>169</th>\n", - " <td>Mission Bay Schedule</td>\n", - " <td>Mission Bay Transportation Management Agency</td>\n", - " <td>04 - Oakland</td>\n", - " <td>2023-11-15</td>\n", + " <th>organization_type</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>170</th>\n", - " <td>Blossom Express Schedule</td>\n", - " <td>City of Ripon</td>\n", - " <td>10 - Stockton</td>\n", - " <td>2023-08-15</td>\n", + " <th>primary_uza</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>171</th>\n", - " <td>Glendale Schedule</td>\n", - " <td>City of Glendale</td>\n", - " <td>07 - Los Angeles</td>\n", - " <td>2023-07-12</td>\n", + " <th>reporter_type</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>172</th>\n", - " <td>TIME GMV Schedule</td>\n", - " <td>Tulare County Regional Transit Agency</td>\n", - " <td>06 - Fresno</td>\n", - " <td>2023-03-15</td>\n", + " <th>n_names</th>\n", + " <td>2</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ - " name \\\n", - "0 Alhambra Schedule \n", - "1 Amador Schedule \n", - "2 Antelope Valley Transit Authority Schedule \n", - "3 Arvin Schedule \n", - "4 Auburn Schedule \n", - "5 B-Line Schedule \n", - "6 Banning Pass Schedule \n", - "7 Basin Transit GMV Schedule \n", - "8 Bay Area 511 AC Transit Schedule \n", - "9 Bay Area 511 BART Schedule \n", - "10 Bay Area 511 Capitol Corridor Schedule \n", - "11 Bay Area 511 Commute.org Schedule \n", - "12 Bay Area 511 County Connection Schedule \n", - "13 Bay Area 511 Fairfield and Suisun Transit Schedule \n", - "14 Bay Area 511 MVGO Schedule \n", - "15 Bay Area 511 Marin Schedule \n", - "16 Bay Area 511 Mission Bay Schedule \n", - "17 Bay Area 511 Mountain View Community Shuttle Schedule \n", - "18 Bay Area 511 Muni Schedule \n", - "19 Bay Area 511 Petaluma Schedule \n", - "20 Bay Area 511 PresidiGo Schedule \n", - "21 Bay Area 511 Rio Vista Delta Breeze Schedule \n", - "22 Bay Area 511 SamTrans Schedule \n", - "23 Bay Area 511 Santa Clara Transit Schedule \n", - "24 Bay Area 511 Santa Rosa CityBus Schedule \n", - "25 Bay Area 511 SolTrans Schedule \n", - "26 Bay Area 511 Sonoma County Transit Schedule \n", - "27 Bay Area 511 South San Francisco Shuttle Schedule \n", - "28 Bay Area 511 Tri Delta Schedule \n", - "29 Bay Area 511 Tri-Valley Wheels Schedule \n", - "30 Bay Area 511 Union City Transit Schedule \n", - "31 Bay Area 511 Vacaville City Coach Schedule \n", - "32 Bay Area 511 Vine Transit Schedule \n", - "33 Bay Area 511 WestCAT Schedule \n", - "34 Beach Cities GMV Schedule \n", - "35 Bear Schedule \n", - "36 Beaumont Transit Schedule \n", - "37 Bellflower Bus Schedule \n", - "38 Big Blue Bus Schedule \n", - "39 BruinBus Schedule \n", - "40 Burbank Schedule \n", - "41 Calabasas Schedule \n", - "42 Calaveras Schedule \n", - "43 Cerritos on Wheels Website Schedule \n", - "44 Clean Air Express Schedule \n", - "45 Clovis Schedule \n", - "46 Commerce Schedule \n", - "47 Corona Schedule \n", - "48 County Express Schedule \n", - "49 Culver City Schedule \n", - "50 Delano Schedule \n", - "51 Desert Roadrunner GMV Schedule \n", - "52 Desert Roadrunner Schedule \n", - "53 Eastern Sierra Schedule \n", - "54 El Dorado Schedule \n", - "55 El Monte Schedule \n", - "56 Elk Grove Schedule \n", - "57 Flixbus Schedule \n", - "58 Foothill Schedule \n", - "59 Fresno County Schedule \n", - "60 Fresno Schedule \n", - "61 G Trans Schedule \n", - "62 GET Schedule \n", - "63 Get Around Town Express Schedule \n", - "64 Glendora Schedule \n", - "65 Glenn Schedule \n", - "66 Go West Schedule \n", - "67 Grapeline Schedule \n", - "68 Guadalupe Flyer Schedule \n", - "69 Humboldt Schedule \n", - "70 Huntington Schedule \n", - "71 Imperial Valley Transit Schedule \n", - "72 Inglewood Schedule \n", - "73 Kern Schedule \n", - "74 Kings Schedule \n", - "75 LA DOT Schedule \n", - "76 LA Metro Bus Schedule \n", - "77 LA Metro Rail Schedule \n", - "78 LADPW Schedule \n", - "79 LAX FlyAway Schedule \n", - "80 La Campana Schedule \n", - "81 La Puente Schedule \n", - "82 Laguna Beach Schedule \n", - "83 Lake Schedule \n", - "84 Lassen Schedule \n", - "85 Lawndale Beat GMV Schedule \n", - "86 Lawndale Schedule \n", - "87 Long Beach Schedule \n", - "88 Madera County Connection Schedule \n", - "89 Madera Metro Schedule \n", - "90 Maywood Schedule \n", - "91 Mendocino Schedule \n", - "92 Merced GMV Schedule \n", - "93 Merced Schedule \n", - "94 Monterey Salinas Schedule \n", - "95 Morongo Basin Schedule \n", - "96 Mountain Transit GMV Schedule \n", - "97 Mountain Transit Schedule \n", - "98 Needles Schedule \n", - "99 Nevada County Schedule \n", - "100 North County Schedule \n", - "101 Norwalk Avail Schedule \n", - "102 OCTA Schedule \n", - "103 OmniTrans Schedule \n", - "104 Palos Verdes PTA Schedule \n", - "105 Pasadena Schedule \n", - "106 Placer Schedule \n", - "107 Plumas Schedule \n", - "108 Redding Schedule \n", - "109 Redwood Coast Schedule \n", - "110 Riverside Schedule \n", - "111 Roseville Schedule \n", - "112 Roseville Transit GMV Schedule \n", - "113 SBMTD Schedule \n", - "114 SLO Peak Transit Schedule \n", - "115 SLO Schedule \n", - "116 SLORTA Schedule \n", - "117 Sacramento Schedule \n", - "118 Sage Stage Schedule \n", - "119 San Diego Schedule \n", - "120 San Joaquin Schedule \n", - "121 Santa Clarita Schedule \n", - "122 Santa Cruz Schedule \n", - "123 Santa Maria Schedule \n", - "124 Santa Ynez Mecatran Schedule \n", - "125 Siskiyou Schedule \n", - "126 South County Transit Link Schedule \n", - "127 StanRTA Schedule \n", - "128 Stanford Schedule \n", - "129 TART, North Lake Tahoe Schedule \n", - "130 Tahoe Transportation District GMV Schedule \n", - "131 Tahoe Transportation District Schedule \n", - "132 Tehama Schedule \n", - "133 Torrance Schedule \n", - "134 Tracy Schedule \n", - "135 Trinity Schedule \n", - "136 Turlock Schedule \n", - "137 Unitrans Schedule \n", - "138 VCTC GMV Schedule \n", - "139 Victor Valley GMV Schedule \n", - "140 Victor Valley Schedule \n", - "141 Visalia Schedule \n", - "142 WeHo Schedule \n", - "143 YARTS Schedule \n", - "144 Yolobus Schedule \n", - "145 Yuba-Sutter Schedule \n", - "146 Yuma Schedule \n", - "147 eTrans Schedule \n", - "148 None \n", - "149 Bay Area 511 Emery Go-Round Schedule \n", - "150 Beaumont Pass Schedule \n", - "151 PresidiGo Schedule \n", - "152 DowneyLINK GMV Schedule \n", - "153 Bell Gardens Schedule \n", - "154 Cudahy Schedule \n", - "155 Anteater Express Schedule \n", - "156 Lynwood Schedule \n", - "157 Manteca Schedule \n", - "158 UCSC Schedule \n", - "159 El Segundo Schedule \n", - "160 Redwood Coast Schedulel \n", - "161 Baldwin Park Schedule \n", - "162 Avalon Schedule \n", - "163 Bay Area 511 Dumbarton Express Schedule \n", - "164 Bay Area 511 Golden Gate Transit Schedule \n", - "165 Rosemead Schedule \n", - "166 Arcadia Schedule \n", - "167 DowneyLINK Schedule \n", - "168 Spirit Bus Schedule \n", - "169 Mission Bay Schedule \n", - "170 Blossom Express Schedule \n", - "171 Glendale Schedule \n", - "172 TIME GMV Schedule \n", - "\n", - " organization_name \\\n", - "0 City of Alhambra \n", - "1 Amador Regional Transit System \n", - "2 Antelope Valley Transit Authority \n", - "3 City of Arvin \n", - "4 City of Auburn \n", - "5 Butte County Association of Governments \n", - "6 City of Banning \n", - "7 Basin Transit \n", - "8 Alameda-Contra Costa Transit District \n", - "9 San Francisco Bay Area Rapid Transit District \n", - "10 Capitol Corridor Joint Powers Authority \n", - "11 City of Menlo Park \n", - "12 Central Contra Costa Transit Authority \n", - "13 City of Fairfield \n", - "14 Mountain View Transportation Management Association \n", - "15 Marin County Transit District \n", - "16 Mission Bay Transportation Management Agency \n", - "17 City of Mountain View \n", - "18 City and County of San Francisco \n", - "19 City of Petaluma \n", - "20 Presidio Trust \n", - "21 City of Rio Vista \n", - "22 San Mateo County Transit District \n", - "23 Santa Clara Valley Transportation Authority \n", - "24 City of Santa Rosa \n", - "25 Solano County Transit \n", - "26 Sonoma County \n", - "27 City of South San Francisco \n", - "28 Eastern Contra Costa Transit Authority \n", - "29 Livermore-Amador Valley Transit Authority \n", - "30 City of Union City \n", - "31 City of Vacaville \n", - "32 Napa Valley Transportation Authority \n", - "33 Western Contra Costa Transit Authority \n", - "34 City of Redondo Beach \n", - "35 University of California, Berkeley \n", - "36 City of Beaumont \n", - "37 City of Bellflower \n", - "38 City of Santa Monica \n", - "39 University of California, Los Angeles \n", - "40 City of Burbank \n", - "41 City of Calabasas \n", - "42 Calaveras Transit Agency \n", - "43 City of Cerritos \n", - "44 Santa Barbara County Association of Governments \n", - "45 City of Clovis \n", - "46 City of Commerce \n", - "47 City of Corona \n", - "48 San Benito County Local Transportation Authority \n", - "49 City of Culver City \n", - "50 City of Delano \n", - "51 Palo Verde Valley Transit Agency \n", - "52 Palo Verde Valley Transit Agency \n", - "53 Eastern Sierra Transit Authority \n", - "54 El Dorado County Transit Authority \n", - "55 City of El Monte \n", - "56 City of Elk Grove \n", - "57 Greyhound \n", - "58 City of Duarte \n", - "59 Fresno County Rural Transit Agency \n", - "60 City of Fresno \n", - "61 City of Gardena \n", - "62 Golden Empire Transit District \n", - "63 City of South Gate \n", - "64 City of Glendora \n", - "65 Glenn County \n", - "66 City of West Covina \n", - "67 City of Lodi \n", - "68 City of Guadalupe \n", - "69 City of Eureka \n", - "70 City of Huntington Park \n", - "71 Imperial County Transportation Commission \n", - "72 City of Inglewood \n", - "73 Kern County \n", - "74 Kings County Area Public Transit Agency \n", - "75 City of Los Angeles \n", - "76 Los Angeles County Metropolitan Transportation Authority \n", - "77 Los Angeles County Metropolitan Transportation Authority \n", - "78 Los Angeles County \n", - "79 Los Angeles World Airports \n", - "80 City of Bell \n", - "81 City of La Puente \n", - "82 City of Laguna Beach \n", - "83 Lake Transit Authority \n", - "84 Lassen Transit Service Agency \n", - "85 City of Lawndale \n", - "86 City of Lawndale \n", - "87 Long Beach Transit \n", - "88 Madera County \n", - "89 City of Madera \n", - "90 City of Maywood \n", - "91 Mendocino Transit Authority \n", - "92 Transit Joint Powers Authority for Merced County \n", - "93 Transit Joint Powers Authority for Merced County \n", - "94 Monterey-Salinas Transit \n", - "95 Basin Transit \n", - "96 Mountain Area Regional Transit Authority \n", - "97 Mountain Area Regional Transit Authority \n", - "98 City of Needles \n", - "99 Nevada County \n", - "100 North County Transit District \n", - "101 City of Norwalk \n", - "102 Orange County Transportation Authority \n", - "103 OmniTrans \n", - "104 Palos Verdes Peninsula Transit Authority \n", - "105 City of Pasadena \n", - "106 Placer County \n", - "107 Plumas Transit Systems \n", - "108 Shasta County \n", - "109 Redwood Coast Transit Authority \n", - "110 Riverside Transit Agency \n", - "111 City of Roseville \n", - "112 City of Roseville \n", - "113 Santa Barbara Metropolitan Transit District \n", - "114 City of San Luis Obispo \n", - "115 City of San Luis Obispo \n", - "116 San Luis Obispo Regional Transit Authority \n", - "117 City of Rancho Cordova \n", - "118 Modoc Transportation Agency \n", - "119 San Diego Metropolitan Transit System \n", - "120 San Joaquin Regional Transit District \n", - "121 City of Santa Clarita \n", - "122 Santa Cruz Metropolitan Transit District \n", - "123 City of Santa Maria \n", - "124 City of Solvang \n", - "125 Siskiyou County \n", - "126 Sacramento County \n", - "127 Stanislaus Regional Transit Authority \n", - "128 Stanford University \n", - "129 North Lake Tahoe Express \n", - "130 Tahoe Transportation District \n", - "131 Tahoe Transportation District \n", - "132 Tehama County \n", - "133 City of Torrance \n", - "134 City of Tracy \n", - "135 Trinity County \n", - "136 City of Turlock \n", - "137 University of California, Davis \n", - "138 City of Ojai \n", - "139 Victor Valley Transit Authority \n", - "140 Victor Valley Transit Authority \n", - "141 City of Visalia \n", - "142 City of West Hollywood \n", - "143 Yosemite Area Regional Transportation System \n", - "144 Yolo County Transportation District \n", - "145 Yuba-Sutter Transit Authority \n", - "146 Yuma County Intergovernmental Public Transportation Authority \n", - "147 City of Escalon \n", - "148 None \n", - "149 Emeryville Transportation Management Agency \n", - "150 City of Beaumont \n", - "151 Presidio Trust \n", - "152 City of Downey \n", - "153 City of Bell Gardens \n", - "154 City of Cudahy \n", - "155 University of California, Irvine \n", - "156 City of Lynwood \n", - "157 City of Manteca \n", - "158 University of California, Santa Cruz \n", - "159 City of El Segundo \n", - "160 Redwood Coast Transit Authority \n", - "161 City of Baldwin Park \n", - "162 City of Avalon \n", - "163 Dumbarton Bridge Regional Operations Consortium \n", - "164 Golden Gate Bridge, Highway and Transportation District \n", - "165 City of Rosemead \n", - "166 City of Arcadia \n", - "167 City of Downey \n", - "168 City of Monterey Park \n", - "169 Mission Bay Transportation Management Agency \n", - "170 City of Ripon \n", - "171 City of Glendale \n", - "172 Tulare County Regional Transit Agency \n", - "\n", - " caltrans_district service_date \n", - "0 07 - Los Angeles 2024-11-13 \n", - "1 10 - Stockton 2024-11-13 \n", - "2 07 - Los Angeles 2024-11-13 \n", - "3 06 - Fresno 2024-11-13 \n", - "4 03 - Marysville 2024-11-13 \n", - "5 03 - Marysville 2024-11-13 \n", - "6 08 - San Bernardino 2024-11-13 \n", - "7 08 - San Bernardino 2024-11-13 \n", - "8 04 - Oakland 2024-11-13 \n", - "9 04 - Oakland 2024-11-13 \n", - "10 04 - Oakland 2024-11-13 \n", - "11 04 - Oakland 2024-11-13 \n", - "12 04 - Oakland 2024-11-13 \n", - "13 04 - Oakland 2024-11-13 \n", - "14 04 - Oakland 2024-11-13 \n", - "15 04 - Oakland 2024-11-13 \n", - "16 04 - Oakland 2024-11-13 \n", - "17 04 - Oakland 2024-11-13 \n", - "18 04 - Oakland 2024-11-13 \n", - "19 04 - Oakland 2024-11-13 \n", - "20 04 - Oakland 2024-11-13 \n", - "21 04 - Oakland 2024-11-13 \n", - "22 04 - Oakland 2024-11-13 \n", - "23 04 - Oakland 2024-11-13 \n", - "24 04 - Oakland 2024-11-13 \n", - "25 04 - Oakland 2024-11-13 \n", - "26 04 - Oakland 2024-11-13 \n", - "27 04 - Oakland 2024-11-13 \n", - "28 04 - Oakland 2024-11-13 \n", - "29 04 - Oakland 2024-11-13 \n", - "30 04 - Oakland 2024-11-13 \n", - "31 04 - Oakland 2024-11-13 \n", - "32 04 - Oakland 2024-11-13 \n", - "33 04 - Oakland 2024-11-13 \n", - "34 07 - Los Angeles 2024-11-13 \n", - "35 04 - Oakland 2024-11-13 \n", - "36 08 - San Bernardino 2024-11-13 \n", - "37 07 - Los Angeles 2024-11-13 \n", - "38 07 - Los Angeles 2024-11-13 \n", - "39 07 - Los Angeles 2024-11-13 \n", - "40 07 - Los Angeles 2024-11-13 \n", - "41 07 - Los Angeles 2024-11-13 \n", - "42 10 - Stockton 2024-11-13 \n", - "43 07 - Los Angeles 2024-11-13 \n", - "44 05 - San Luis Obispo 2024-11-13 \n", - "45 06 - Fresno 2024-11-13 \n", - "46 07 - Los Angeles 2024-11-13 \n", - "47 08 - San Bernardino 2024-11-13 \n", - "48 05 - San Luis Obispo 2024-11-13 \n", - "49 07 - Los Angeles 2024-11-13 \n", - "50 06 - Fresno 2024-11-13 \n", - "51 08 - San Bernardino 2024-11-13 \n", - "52 08 - San Bernardino 2024-11-13 \n", - "53 09 - Bishop 2024-11-13 \n", - "54 03 - Marysville 2024-11-13 \n", - "55 07 - Los Angeles 2024-11-13 \n", - "56 03 - Marysville 2024-11-13 \n", - "57 07 - Los Angeles 2024-11-13 \n", - "58 07 - Los Angeles 2024-11-13 \n", - "59 06 - Fresno 2024-11-13 \n", - "60 06 - Fresno 2024-11-13 \n", - "61 07 - Los Angeles 2024-11-13 \n", - "62 06 - Fresno 2024-11-13 \n", - "63 07 - Los Angeles 2024-11-13 \n", - "64 07 - Los Angeles 2024-11-13 \n", - "65 03 - Marysville 2024-11-13 \n", - "66 07 - Los Angeles 2024-11-13 \n", - "67 10 - Stockton 2024-11-13 \n", - "68 05 - San Luis Obispo 2024-11-13 \n", - "69 01 - Eureka 2024-11-13 \n", - "70 07 - Los Angeles 2024-11-13 \n", - "71 11 - San Diego 2024-11-13 \n", - "72 07 - Los Angeles 2024-11-13 \n", - "73 06 - Fresno 2024-11-13 \n", - "74 06 - Fresno 2024-11-13 \n", - "75 07 - Los Angeles 2024-11-13 \n", - "76 07 - Los Angeles 2024-11-13 \n", - "77 07 - Los Angeles 2024-11-13 \n", - "78 07 - Los Angeles 2024-11-13 \n", - "79 07 - Los Angeles 2024-11-13 \n", - "80 07 - Los Angeles 2024-11-13 \n", - "81 07 - Los Angeles 2024-11-13 \n", - "82 12 - Irvine 2024-11-13 \n", - "83 01 - Eureka 2024-11-13 \n", - "84 02 - Redding 2024-11-13 \n", - "85 07 - Los Angeles 2024-11-13 \n", - "86 07 - Los Angeles 2024-11-13 \n", - "87 07 - Los Angeles 2024-11-13 \n", - "88 06 - Fresno 2024-11-13 \n", - "89 06 - Fresno 2024-11-13 \n", - "90 07 - Los Angeles 2024-11-13 \n", - "91 01 - Eureka 2024-11-13 \n", - "92 10 - Stockton 2024-11-13 \n", - "93 10 - Stockton 2024-11-13 \n", - "94 05 - San Luis Obispo 2024-11-13 \n", - "95 08 - San Bernardino 2024-11-13 \n", - "96 08 - San Bernardino 2024-11-13 \n", - "97 08 - San Bernardino 2024-11-13 \n", - "98 08 - San Bernardino 2024-11-13 \n", - "99 03 - Marysville 2024-11-13 \n", - "100 11 - San Diego 2024-11-13 \n", - "101 07 - Los Angeles 2024-11-13 \n", - "102 12 - Irvine 2024-11-13 \n", - "103 08 - San Bernardino 2024-11-13 \n", - "104 07 - Los Angeles 2024-11-13 \n", - "105 07 - Los Angeles 2024-11-13 \n", - "106 03 - Marysville 2024-11-13 \n", - "107 02 - Redding 2024-11-13 \n", - "108 02 - Redding 2024-11-13 \n", - "109 01 - Eureka 2024-11-13 \n", - "110 08 - San Bernardino 2024-11-13 \n", - "111 03 - Marysville 2024-11-13 \n", - "112 03 - Marysville 2024-11-13 \n", - "113 05 - San Luis Obispo 2024-11-13 \n", - "114 05 - San Luis Obispo 2024-11-13 \n", - "115 05 - San Luis Obispo 2024-11-13 \n", - "116 05 - San Luis Obispo 2024-11-13 \n", - "117 03 - Marysville 2024-11-13 \n", - "118 02 - Redding 2024-11-13 \n", - "119 11 - San Diego 2024-11-13 \n", - "120 10 - Stockton 2024-11-13 \n", - "121 07 - Los Angeles 2024-11-13 \n", - "122 05 - San Luis Obispo 2024-11-13 \n", - "123 05 - San Luis Obispo 2024-11-13 \n", - "124 05 - San Luis Obispo 2024-11-13 \n", - "125 02 - Redding 2024-11-13 \n", - "126 03 - Marysville 2024-11-13 \n", - "127 10 - Stockton 2024-11-13 \n", - "128 04 - Oakland 2024-11-13 \n", - "129 03 - Marysville 2024-11-13 \n", - "130 03 - Marysville 2024-11-13 \n", - "131 03 - Marysville 2024-11-13 \n", - "132 02 - Redding 2024-11-13 \n", - "133 07 - Los Angeles 2024-11-13 \n", - "134 10 - Stockton 2024-11-13 \n", - "135 02 - Redding 2024-11-13 \n", - "136 10 - Stockton 2024-11-13 \n", - "137 03 - Marysville 2024-11-13 \n", - "138 07 - Los Angeles 2024-11-13 \n", - "139 08 - San Bernardino 2024-11-13 \n", - "140 08 - San Bernardino 2024-11-13 \n", - "141 06 - Fresno 2024-11-13 \n", - "142 07 - Los Angeles 2024-11-13 \n", - "143 10 - Stockton 2024-11-13 \n", - "144 03 - Marysville 2024-11-13 \n", - "145 03 - Marysville 2024-11-13 \n", - "146 11 - San Diego 2024-11-13 \n", - "147 10 - Stockton 2024-11-13 \n", - "148 06 - Fresno 2024-11-13 \n", - "149 04 - Oakland 2024-10-16 \n", - "150 08 - San Bernardino 2024-10-16 \n", - "151 04 - Oakland 2024-10-16 \n", - "152 07 - Los Angeles 2024-09-18 \n", - "153 07 - Los Angeles 2024-07-17 \n", - "154 07 - Los Angeles 2024-07-17 \n", - "155 12 - Irvine 2024-06-12 \n", - "156 07 - Los Angeles 2024-06-12 \n", - "157 10 - Stockton 2024-06-12 \n", - "158 05 - San Luis Obispo 2024-06-12 \n", - "159 07 - Los Angeles 2024-05-22 \n", - "160 01 - Eureka 2024-05-22 \n", - "161 07 - Los Angeles 2024-04-17 \n", - "162 07 - Los Angeles 2024-03-13 \n", - "163 04 - Oakland 2024-03-13 \n", - "164 04 - Oakland 2024-03-13 \n", - "165 07 - Los Angeles 2024-02-14 \n", - "166 07 - Los Angeles 2023-12-13 \n", - "167 07 - Los Angeles 2023-12-13 \n", - "168 07 - Los Angeles 2023-12-13 \n", - "169 04 - Oakland 2023-11-15 \n", - "170 10 - Stockton 2023-08-15 \n", - "171 07 - Los Angeles 2023-07-12 \n", - "172 06 - Fresno 2023-03-15 " + " 3\n", + "schedule_gtfs_dataset_key 09a703757d1ed14ca9580b1385e39315\n", + "vp_per_min_agency 2.65\n", + "spatial_accuracy_agency 100.00\n", + "service_date 2024-11-13 00:00:00\n", + "operator_n_routes 2.00\n", + "operator_n_trips 30.00\n", + "operator_n_shapes 2.00\n", + "operator_n_stops 43.00\n", + "operator_n_arrivals 698.00\n", + "operator_route_length_miles 17.92\n", + "operator_arrivals_per_stop 16.23\n", + "n_downtown_local_routes 2.00\n", + "n_local_routes 0.00\n", + "n_coverage_routes 1.00\n", + "n_rapid_routes 0.00\n", + "n_express_routes 1.00\n", + "n_rail_routes 0.00\n", + "name Lawndale Beat GMV Schedule\n", + "organization_source_record_id recj8LXdeSurpSRNU\n", + "organization_name City of Lawndale\n", + "caltrans_district 07 - Los Angeles\n", + "counties_served 0\n", + "service_area_sq_miles 0\n", + "hq_city 0\n", + "uza_name 0\n", + "service_area_pop 0\n", + "organization_type 0\n", + "primary_uza 0\n", + "reporter_type 0\n", + "n_names 2" ] }, - "execution_count": 22, "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "operator_df[[\"name\",\"organization_name\", \"caltrans_district\",\"service_date\"]]" - ] - }, - { - "cell_type": "markdown", - "id": "259b9bdc-5a85-4a71-b269-d82294e3ee3b", - "metadata": {}, - "source": [ - "### Mountain Transit GMV and Mountain Transit Schedule actually differ!" - ] - }, - { - "cell_type": "code", - "execution_count": 13, - "id": "689484d8-326c-48fe-b123-5156ea2285ca", - "metadata": { - "scrolled": true, - "tags": [] - }, - "outputs": [], - "source": [ - "mountain_subset = [\"Mountain Transit GMV Schedule\", \"Mountain Transit Schedule\"]" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "id": "ef15783b-9b27-4a22-810f-f7f91ac56620", - "metadata": { - "scrolled": true, - "tags": [] - }, - "outputs": [ + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "City of San Luis Obispo\n" + ] + }, { "data": { "text/html": [ @@ -2034,260 +1644,189 @@ " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", - " <th>96</th>\n", - " <th>97</th>\n", + " <th>4</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <th>schedule_gtfs_dataset_key</th>\n", - " <td>0c092a514e4b9ad1427bdacdc67a0091</td>\n", - " <td>5ca5d244836397b178993c9bdc4dfb00</td>\n", + " <td>f4c3ea214214ee0d96f7646b3e9d69dc</td>\n", " </tr>\n", " <tr>\n", " <th>vp_per_min_agency</th>\n", - " <td>0.00</td>\n", - " <td>0.00</td>\n", + " <td>1.99</td>\n", " </tr>\n", " <tr>\n", " <th>spatial_accuracy_agency</th>\n", - " <td>0.00</td>\n", - " <td>0.00</td>\n", + " <td>99.02</td>\n", " </tr>\n", " <tr>\n", " <th>service_date</th>\n", " <td>2024-11-13 00:00:00</td>\n", - " <td>2024-11-13 00:00:00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_routes</th>\n", - " <td>7.00</td>\n", - " <td>7.00</td>\n", + " <td>9.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_trips</th>\n", - " <td>154.00</td>\n", - " <td>172.00</td>\n", + " <td>147.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_shapes</th>\n", - " <td>21.00</td>\n", - " <td>27.00</td>\n", + " <td>10.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_stops</th>\n", - " <td>134.00</td>\n", - " <td>127.00</td>\n", + " <td>157.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_arrivals</th>\n", - " <td>3580.00</td>\n", - " <td>2978.00</td>\n", + " <td>3916.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_route_length_miles</th>\n", - " <td>153.64</td>\n", - " <td>145.58</td>\n", + " <td>84.95</td>\n", " </tr>\n", " <tr>\n", " <th>operator_arrivals_per_stop</th>\n", - " <td>26.72</td>\n", - " <td>23.45</td>\n", + " <td>24.94</td>\n", " </tr>\n", " <tr>\n", " <th>n_downtown_local_routes</th>\n", - " <td>0.00</td>\n", " <td>1.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_local_routes</th>\n", - " <td>0.00</td>\n", - " <td>0.00</td>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_coverage_routes</th>\n", - " <td>14.00</td>\n", - " <td>14.00</td>\n", + " <td>6.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_rapid_routes</th>\n", - " <td>7.00</td>\n", - " <td>5.00</td>\n", + " <td>9.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_express_routes</th>\n", " <td>0.00</td>\n", - " <td>0.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_rail_routes</th>\n", " <td>0.00</td>\n", - " <td>0.00</td>\n", " </tr>\n", " <tr>\n", " <th>name</th>\n", - " <td>Mountain Transit GMV Schedule</td>\n", - " <td>Mountain Transit Schedule</td>\n", + " <td>SLO Peak Transit Schedule</td>\n", " </tr>\n", " <tr>\n", " <th>organization_source_record_id</th>\n", - " <td>recHbquam1bWEwC3P</td>\n", - " <td>recHbquam1bWEwC3P</td>\n", + " <td>recMM99msxjmc6PPv</td>\n", " </tr>\n", " <tr>\n", " <th>organization_name</th>\n", - " <td>Mountain Area Regional Transit Authority</td>\n", - " <td>Mountain Area Regional Transit Authority</td>\n", + " <td>City of San Luis Obispo</td>\n", " </tr>\n", " <tr>\n", " <th>caltrans_district</th>\n", - " <td>08 - San Bernardino</td>\n", - " <td>08 - San Bernardino</td>\n", + " <td>05 - San Luis Obispo</td>\n", " </tr>\n", " <tr>\n", " <th>counties_served</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>San Luis Obispo</td>\n", " </tr>\n", " <tr>\n", " <th>service_area_sq_miles</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>22</td>\n", " </tr>\n", " <tr>\n", " <th>hq_city</th>\n", - " <td>Big Bear Lake</td>\n", - " <td>Big Bear Lake</td>\n", + " <td>San Luis Obispo</td>\n", " </tr>\n", " <tr>\n", " <th>uza_name</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>San Luis Obispo, CA</td>\n", " </tr>\n", " <tr>\n", " <th>service_area_pop</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>46997</td>\n", " </tr>\n", " <tr>\n", " <th>organization_type</th>\n", - " <td>Public Agency or Authority of Transit Service</td>\n", - " <td>Public Agency or Authority of Transit Service</td>\n", + " <td>County or Local Government Unit or Department of Transportation</td>\n", " </tr>\n", " <tr>\n", " <th>primary_uza</th>\n", " <td>0</td>\n", - " <td>0</td>\n", " </tr>\n", " <tr>\n", " <th>reporter_type</th>\n", - " <td>Rural Reporter</td>\n", - " <td>Rural Reporter</td>\n", + " <td>Full Reporter</td>\n", + " </tr>\n", + " <tr>\n", + " <th>n_names</th>\n", + " <td>2</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ - " 96 \\\n", - "schedule_gtfs_dataset_key 0c092a514e4b9ad1427bdacdc67a0091 \n", - "vp_per_min_agency 0.00 \n", - "spatial_accuracy_agency 0.00 \n", - "service_date 2024-11-13 00:00:00 \n", - "operator_n_routes 7.00 \n", - "operator_n_trips 154.00 \n", - "operator_n_shapes 21.00 \n", - "operator_n_stops 134.00 \n", - "operator_n_arrivals 3580.00 \n", - "operator_route_length_miles 153.64 \n", - "operator_arrivals_per_stop 26.72 \n", - "n_downtown_local_routes 0.00 \n", - "n_local_routes 0.00 \n", - "n_coverage_routes 14.00 \n", - "n_rapid_routes 7.00 \n", - "n_express_routes 0.00 \n", - "n_rail_routes 0.00 \n", - "name Mountain Transit GMV Schedule \n", - "organization_source_record_id recHbquam1bWEwC3P \n", - "organization_name Mountain Area Regional Transit Authority \n", - "caltrans_district 08 - San Bernardino \n", - "counties_served 0 \n", - "service_area_sq_miles 0 \n", - "hq_city Big Bear Lake \n", - "uza_name 0 \n", - "service_area_pop 0 \n", - "organization_type Public Agency or Authority of Transit Service \n", - "primary_uza 0 \n", - "reporter_type Rural Reporter \n", - "\n", - " 97 \n", - "schedule_gtfs_dataset_key 5ca5d244836397b178993c9bdc4dfb00 \n", - "vp_per_min_agency 0.00 \n", - "spatial_accuracy_agency 0.00 \n", - "service_date 2024-11-13 00:00:00 \n", - "operator_n_routes 7.00 \n", - "operator_n_trips 172.00 \n", - "operator_n_shapes 27.00 \n", - "operator_n_stops 127.00 \n", - "operator_n_arrivals 2978.00 \n", - "operator_route_length_miles 145.58 \n", - "operator_arrivals_per_stop 23.45 \n", - "n_downtown_local_routes 1.00 \n", - "n_local_routes 0.00 \n", - "n_coverage_routes 14.00 \n", - "n_rapid_routes 5.00 \n", - "n_express_routes 0.00 \n", - "n_rail_routes 0.00 \n", - "name Mountain Transit Schedule \n", - "organization_source_record_id recHbquam1bWEwC3P \n", - "organization_name Mountain Area Regional Transit Authority \n", - "caltrans_district 08 - San Bernardino \n", - "counties_served 0 \n", - "service_area_sq_miles 0 \n", - "hq_city Big Bear Lake \n", - "uza_name 0 \n", - "service_area_pop 0 \n", - "organization_type Public Agency or Authority of Transit Service \n", - "primary_uza 0 \n", - "reporter_type Rural Reporter " + " 4\n", + "schedule_gtfs_dataset_key f4c3ea214214ee0d96f7646b3e9d69dc\n", + "vp_per_min_agency 1.99\n", + "spatial_accuracy_agency 99.02\n", + "service_date 2024-11-13 00:00:00\n", + "operator_n_routes 9.00\n", + "operator_n_trips 147.00\n", + "operator_n_shapes 10.00\n", + "operator_n_stops 157.00\n", + "operator_n_arrivals 3916.00\n", + "operator_route_length_miles 84.95\n", + "operator_arrivals_per_stop 24.94\n", + "n_downtown_local_routes 1.00\n", + "n_local_routes 2.00\n", + "n_coverage_routes 6.00\n", + "n_rapid_routes 9.00\n", + "n_express_routes 0.00\n", + "n_rail_routes 0.00\n", + "name SLO Peak Transit Schedule\n", + "organization_source_record_id recMM99msxjmc6PPv\n", + "organization_name City of San Luis Obispo\n", + "caltrans_district 05 - San Luis Obispo\n", + "counties_served San Luis Obispo\n", + "service_area_sq_miles 22\n", + "hq_city San Luis Obispo\n", + "uza_name San Luis Obispo, CA\n", + "service_area_pop 46997\n", + "organization_type County or Local Government Unit or Department of Transportation\n", + "primary_uza 0\n", + "reporter_type Full Reporter\n", + "n_names 2" ] }, - "execution_count": 15, "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "operator_df.loc[operator_df.name.isin(mountain_subset)].T" - ] - }, - { - "cell_type": "markdown", - "id": "03857c13-42ba-4403-ad61-971e68c90f4b", - "metadata": {}, - "source": [ - "### Desert Roadrunner differ too! " - ] - }, - { - "cell_type": "code", - "execution_count": 18, - "id": "d18bfb5a-48b8-4d8f-ba89-701888d92f76", - "metadata": {}, - "outputs": [], - "source": [ - "desert_subset = [ 'Desert Roadrunner GMV Schedule', 'Desert Roadrunner Schedule',]" - ] - }, - { - "cell_type": "code", - "execution_count": 19, - "id": "59242e4d-a7e3-4e94-af9a-4fa0a345e9b7", - "metadata": { - "scrolled": true, - "tags": [] - }, - "outputs": [ + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Los Angeles County Metropolitan Transportation Authority\n" + ] + }, + { + "data": { + "text/plain": [ + "False 17\n", + "True 13\n", + "Name: same, dtype: int64" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, { "data": { "text/html": [ @@ -2309,257 +1848,304 @@ " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", - " <th>51</th>\n", - " <th>52</th>\n", + " <th>name1</th>\n", + " <th>name2</th>\n", + " <th>same</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <th>schedule_gtfs_dataset_key</th>\n", - " <td>4383eb1cca04093020f1583f57f32d9b</td>\n", - " <td>ac9384d5e25378d1898ca522070cef66</td>\n", + " <td>0666caf3ec1ecc96b74f4477ee4bc939</td>\n", + " <td>2a0571758141f412b6a546fd70a65bf3</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>vp_per_min_agency</th>\n", - " <td>2.93</td>\n", - " <td>0.00</td>\n", + " <td>2.06</td>\n", + " <td>1.31</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>spatial_accuracy_agency</th>\n", - " <td>84.83</td>\n", - " <td>0.00</td>\n", + " <td>91.81</td>\n", + " <td>94.91</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>service_date</th>\n", " <td>2024-11-13 00:00:00</td>\n", " <td>2024-11-13 00:00:00</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_routes</th>\n", - " <td>5.00</td>\n", - " <td>5.00</td>\n", + " <td>111.00</td>\n", + " <td>6.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_trips</th>\n", - " <td>54.00</td>\n", - " <td>45.00</td>\n", + " <td>13658.00</td>\n", + " <td>1485.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_shapes</th>\n", - " <td>9.00</td>\n", - " <td>14.00</td>\n", + " <td>602.00</td>\n", + " <td>12.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_stops</th>\n", - " <td>39.00</td>\n", - " <td>161.00</td>\n", + " <td>12008.00</td>\n", + " <td>106.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_arrivals</th>\n", - " <td>472.00</td>\n", - " <td>1753.00</td>\n", + " <td>860096.00</td>\n", + " <td>25331.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>operator_route_length_miles</th>\n", - " <td>220.10</td>\n", - " <td>228.79</td>\n", + " <td>1955.29</td>\n", + " <td>121.40</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>operator_arrivals_per_stop</th>\n", - " <td>12.10</td>\n", - " <td>10.89</td>\n", + " <td>71.63</td>\n", + " <td>238.97</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>n_downtown_local_routes</th>\n", - " <td>1.00</td>\n", - " <td>1.00</td>\n", + " <td>216.00</td>\n", + " <td>12.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>n_local_routes</th>\n", - " <td>2.00</td>\n", - " <td>1.00</td>\n", - " </tr>\n", + " <td>7.00</td>\n", + " <td>0.00</td>\n", + " <td>False</td>\n", + " </tr>\n", " <tr>\n", " <th>n_coverage_routes</th>\n", - " <td>8.00</td>\n", - " <td>7.00</td>\n", + " <td>18.00</td>\n", + " <td>0.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>n_rapid_routes</th>\n", - " <td>1.00</td>\n", - " <td>1.00</td>\n", + " <td>25.00</td>\n", + " <td>0.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>n_express_routes</th>\n", - " <td>1.00</td>\n", - " <td>1.00</td>\n", + " <td>12.00</td>\n", + " <td>0.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>n_rail_routes</th>\n", " <td>0.00</td>\n", - " <td>0.00</td>\n", + " <td>12.00</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>name</th>\n", - " <td>Desert Roadrunner GMV Schedule</td>\n", - " <td>Desert Roadrunner Schedule</td>\n", + " <td>LA Metro Bus Schedule</td>\n", + " <td>LA Metro Rail Schedule</td>\n", + " <td>False</td>\n", " </tr>\n", " <tr>\n", " <th>organization_source_record_id</th>\n", - " <td>recGcv4NidDjwVSiN</td>\n", - " <td>recGcv4NidDjwVSiN</td>\n", + " <td>recPnGkwdpnr8jmHB</td>\n", + " <td>recPnGkwdpnr8jmHB</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>organization_name</th>\n", - " <td>Palo Verde Valley Transit Agency</td>\n", - " <td>Palo Verde Valley Transit Agency</td>\n", + " <td>Los Angeles County Metropolitan Transportation Authority</td>\n", + " <td>Los Angeles County Metropolitan Transportation Authority</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>caltrans_district</th>\n", - " <td>08 - San Bernardino</td>\n", - " <td>08 - San Bernardino</td>\n", + " <td>07 - Los Angeles</td>\n", + " <td>07 - Los Angeles</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>counties_served</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>Los Angeles</td>\n", + " <td>Los Angeles</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>service_area_sq_miles</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>4099</td>\n", + " <td>4099</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>hq_city</th>\n", - " <td>Blythe</td>\n", - " <td>Blythe</td>\n", + " <td>Los Angeles</td>\n", + " <td>Los Angeles</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>uza_name</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>Los Angeles--Long Beach--Anaheim, CA</td>\n", + " <td>Los Angeles--Long Beach--Anaheim, CA</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>service_area_pop</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>10394849</td>\n", + " <td>10394849</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>organization_type</th>\n", " <td>Public Agency or Authority of Transit Service</td>\n", " <td>Public Agency or Authority of Transit Service</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>primary_uza</th>\n", " <td>0</td>\n", " <td>0</td>\n", + " <td>True</td>\n", " </tr>\n", " <tr>\n", " <th>reporter_type</th>\n", - " <td>Rural Reporter</td>\n", - " <td>Rural Reporter</td>\n", + " <td>Full Reporter</td>\n", + " <td>Full Reporter</td>\n", + " <td>True</td>\n", + " </tr>\n", + " <tr>\n", + " <th>n_names</th>\n", + " <td>2</td>\n", + " <td>2</td>\n", + " <td>True</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ - " 51 \\\n", - "schedule_gtfs_dataset_key 4383eb1cca04093020f1583f57f32d9b \n", - "vp_per_min_agency 2.93 \n", - "spatial_accuracy_agency 84.83 \n", - "service_date 2024-11-13 00:00:00 \n", - "operator_n_routes 5.00 \n", - "operator_n_trips 54.00 \n", - "operator_n_shapes 9.00 \n", - "operator_n_stops 39.00 \n", - "operator_n_arrivals 472.00 \n", - "operator_route_length_miles 220.10 \n", - "operator_arrivals_per_stop 12.10 \n", - "n_downtown_local_routes 1.00 \n", - "n_local_routes 2.00 \n", - "n_coverage_routes 8.00 \n", - "n_rapid_routes 1.00 \n", - "n_express_routes 1.00 \n", - "n_rail_routes 0.00 \n", - "name Desert Roadrunner GMV Schedule \n", - "organization_source_record_id recGcv4NidDjwVSiN \n", - "organization_name Palo Verde Valley Transit Agency \n", - "caltrans_district 08 - San Bernardino \n", - "counties_served 0 \n", - "service_area_sq_miles 0 \n", - "hq_city Blythe \n", - "uza_name 0 \n", - "service_area_pop 0 \n", - "organization_type Public Agency or Authority of Transit Service \n", - "primary_uza 0 \n", - "reporter_type Rural Reporter \n", + " name1 \\\n", + "schedule_gtfs_dataset_key 0666caf3ec1ecc96b74f4477ee4bc939 \n", + "vp_per_min_agency 2.06 \n", + "spatial_accuracy_agency 91.81 \n", + "service_date 2024-11-13 00:00:00 \n", + "operator_n_routes 111.00 \n", + "operator_n_trips 13658.00 \n", + "operator_n_shapes 602.00 \n", + "operator_n_stops 12008.00 \n", + "operator_n_arrivals 860096.00 \n", + "operator_route_length_miles 1955.29 \n", + "operator_arrivals_per_stop 71.63 \n", + "n_downtown_local_routes 216.00 \n", + "n_local_routes 7.00 \n", + "n_coverage_routes 18.00 \n", + "n_rapid_routes 25.00 \n", + "n_express_routes 12.00 \n", + "n_rail_routes 0.00 \n", + "name LA Metro Bus Schedule \n", + "organization_source_record_id recPnGkwdpnr8jmHB \n", + "organization_name Los Angeles County Metropolitan Transportation Authority \n", + "caltrans_district 07 - Los Angeles \n", + "counties_served Los Angeles \n", + "service_area_sq_miles 4099 \n", + "hq_city Los Angeles \n", + "uza_name Los Angeles--Long Beach--Anaheim, CA \n", + "service_area_pop 10394849 \n", + "organization_type Public Agency or Authority of Transit Service \n", + "primary_uza 0 \n", + "reporter_type Full Reporter \n", + "n_names 2 \n", + "\n", + " name2 \\\n", + "schedule_gtfs_dataset_key 2a0571758141f412b6a546fd70a65bf3 \n", + "vp_per_min_agency 1.31 \n", + "spatial_accuracy_agency 94.91 \n", + "service_date 2024-11-13 00:00:00 \n", + "operator_n_routes 6.00 \n", + "operator_n_trips 1485.00 \n", + "operator_n_shapes 12.00 \n", + "operator_n_stops 106.00 \n", + "operator_n_arrivals 25331.00 \n", + "operator_route_length_miles 121.40 \n", + "operator_arrivals_per_stop 238.97 \n", + "n_downtown_local_routes 12.00 \n", + "n_local_routes 0.00 \n", + "n_coverage_routes 0.00 \n", + "n_rapid_routes 0.00 \n", + "n_express_routes 0.00 \n", + "n_rail_routes 12.00 \n", + "name LA Metro Rail Schedule \n", + "organization_source_record_id recPnGkwdpnr8jmHB \n", + "organization_name Los Angeles County Metropolitan Transportation Authority \n", + "caltrans_district 07 - Los Angeles \n", + "counties_served Los Angeles \n", + "service_area_sq_miles 4099 \n", + "hq_city Los Angeles \n", + "uza_name Los Angeles--Long Beach--Anaheim, CA \n", + "service_area_pop 10394849 \n", + "organization_type Public Agency or Authority of Transit Service \n", + "primary_uza 0 \n", + "reporter_type Full Reporter \n", + "n_names 2 \n", "\n", - " 52 \n", - "schedule_gtfs_dataset_key ac9384d5e25378d1898ca522070cef66 \n", - "vp_per_min_agency 0.00 \n", - "spatial_accuracy_agency 0.00 \n", - "service_date 2024-11-13 00:00:00 \n", - "operator_n_routes 5.00 \n", - "operator_n_trips 45.00 \n", - "operator_n_shapes 14.00 \n", - "operator_n_stops 161.00 \n", - "operator_n_arrivals 1753.00 \n", - "operator_route_length_miles 228.79 \n", - "operator_arrivals_per_stop 10.89 \n", - "n_downtown_local_routes 1.00 \n", - "n_local_routes 1.00 \n", - "n_coverage_routes 7.00 \n", - "n_rapid_routes 1.00 \n", - "n_express_routes 1.00 \n", - "n_rail_routes 0.00 \n", - "name Desert Roadrunner Schedule \n", - "organization_source_record_id recGcv4NidDjwVSiN \n", - "organization_name Palo Verde Valley Transit Agency \n", - "caltrans_district 08 - San Bernardino \n", - "counties_served 0 \n", - "service_area_sq_miles 0 \n", - "hq_city Blythe \n", - "uza_name 0 \n", - "service_area_pop 0 \n", - "organization_type Public Agency or Authority of Transit Service \n", - "primary_uza 0 \n", - "reporter_type Rural Reporter " + " same \n", + "schedule_gtfs_dataset_key False \n", + "vp_per_min_agency False \n", + "spatial_accuracy_agency False \n", + "service_date True \n", + "operator_n_routes False \n", + "operator_n_trips False \n", + "operator_n_shapes False \n", + "operator_n_stops False \n", + "operator_n_arrivals False \n", + "operator_route_length_miles False \n", + "operator_arrivals_per_stop False \n", + "n_downtown_local_routes False \n", + "n_local_routes False \n", + "n_coverage_routes False \n", + "n_rapid_routes False \n", + "n_express_routes False \n", + "n_rail_routes False \n", + "name False \n", + "organization_source_record_id True \n", + "organization_name True \n", + "caltrans_district True \n", + "counties_served True \n", + "service_area_sq_miles True \n", + "hq_city True \n", + "uza_name True \n", + "service_area_pop True \n", + "organization_type True \n", + "primary_uza True \n", + "reporter_type True \n", + "n_names True " ] }, - "execution_count": 19, "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "operator_df2.loc[operator_df2.name.isin(desert_subset)].T" - ] - }, - { - "cell_type": "markdown", - "id": "61a04dc8-53e9-4deb-a857-89173e97d5c0", - "metadata": {}, - "source": [ - "### Tahoe" - ] - }, - { - "cell_type": "code", - "execution_count": 30, - "id": "b47f2921-9fe1-4a6c-b324-5cf4cabe4a26", - "metadata": {}, - "outputs": [], - "source": [ - "tahoe_subset = [\"Tahoe Transportation District GMV Schedule\", \"Tahoe Transportation District Schedule\"]" - ] - }, - { - "cell_type": "code", - "execution_count": 31, - "id": "b5c998a3-f595-4eb3-af48-ba6c64d850c0", - "metadata": {}, - "outputs": [ + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Palo Verde Valley Transit Agency\n" + ] + }, { "data": { "text/html": [ @@ -2581,266 +2167,178 @@ " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", - " <th>130</th>\n", - " <th>131</th>\n", + " <th>7</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", " <th>schedule_gtfs_dataset_key</th>\n", - " <td>c3499b856c717e5706299664fb1c5261</td>\n", - " <td>07d3b79f14cec8099119e1eb649f065b</td>\n", + " <td>4383eb1cca04093020f1583f57f32d9b</td>\n", " </tr>\n", " <tr>\n", " <th>vp_per_min_agency</th>\n", - " <td>2.89</td>\n", - " <td>0.00</td>\n", + " <td>2.93</td>\n", " </tr>\n", " <tr>\n", " <th>spatial_accuracy_agency</th>\n", - " <td>93.59</td>\n", - " <td>0.00</td>\n", + " <td>84.83</td>\n", " </tr>\n", " <tr>\n", " <th>service_date</th>\n", " <td>2024-11-13 00:00:00</td>\n", - " <td>2024-11-13 00:00:00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_routes</th>\n", - " <td>4.00</td>\n", " <td>5.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_trips</th>\n", - " <td>121.00</td>\n", - " <td>132.00</td>\n", + " <td>54.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_shapes</th>\n", " <td>9.00</td>\n", - " <td>13.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_stops</th>\n", - " <td>117.00</td>\n", - " <td>123.00</td>\n", + " <td>39.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_n_arrivals</th>\n", - " <td>2544.00</td>\n", - " <td>2409.00</td>\n", + " <td>472.00</td>\n", " </tr>\n", " <tr>\n", " <th>operator_route_length_miles</th>\n", - " <td>64.68</td>\n", - " <td>90.82</td>\n", + " <td>220.10</td>\n", " </tr>\n", " <tr>\n", " <th>operator_arrivals_per_stop</th>\n", - " <td>21.74</td>\n", - " <td>19.59</td>\n", + " <td>12.10</td>\n", " </tr>\n", " <tr>\n", " <th>n_downtown_local_routes</th>\n", - " <td>0.00</td>\n", - " <td>0.00</td>\n", + " <td>1.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_local_routes</th>\n", - " <td>1.00</td>\n", - " <td>1.00</td>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_coverage_routes</th>\n", - " <td>3.00</td>\n", - " <td>3.00</td>\n", + " <td>8.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_rapid_routes</th>\n", - " <td>3.00</td>\n", - " <td>3.00</td>\n", + " <td>1.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_express_routes</th>\n", - " <td>0.00</td>\n", - " <td>0.00</td>\n", + " <td>1.00</td>\n", " </tr>\n", " <tr>\n", " <th>n_rail_routes</th>\n", " <td>0.00</td>\n", - " <td>0.00</td>\n", " </tr>\n", " <tr>\n", " <th>name</th>\n", - " <td>Tahoe Transportation District GMV Schedule</td>\n", - " <td>Tahoe Transportation District Schedule</td>\n", + " <td>Desert Roadrunner GMV Schedule</td>\n", " </tr>\n", " <tr>\n", " <th>organization_source_record_id</th>\n", - " <td>rec3u4aMplqObcoTR</td>\n", - " <td>rec3u4aMplqObcoTR</td>\n", + " <td>recGcv4NidDjwVSiN</td>\n", " </tr>\n", " <tr>\n", " <th>organization_name</th>\n", - " <td>Tahoe Transportation District</td>\n", - " <td>Tahoe Transportation District</td>\n", + " <td>Palo Verde Valley Transit Agency</td>\n", " </tr>\n", " <tr>\n", " <th>caltrans_district</th>\n", - " <td>03 - Marysville</td>\n", - " <td>03 - Marysville</td>\n", + " <td>08 - San Bernardino</td>\n", " </tr>\n", " <tr>\n", " <th>counties_served</th>\n", " <td>0</td>\n", - " <td>0</td>\n", " </tr>\n", " <tr>\n", " <th>service_area_sq_miles</th>\n", " <td>0</td>\n", - " <td>0</td>\n", " </tr>\n", " <tr>\n", " <th>hq_city</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>Blythe</td>\n", " </tr>\n", " <tr>\n", " <th>uza_name</th>\n", " <td>0</td>\n", - " <td>0</td>\n", " </tr>\n", " <tr>\n", " <th>service_area_pop</th>\n", " <td>0</td>\n", - " <td>0</td>\n", " </tr>\n", " <tr>\n", " <th>organization_type</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>Public Agency or Authority of Transit Service</td>\n", " </tr>\n", " <tr>\n", " <th>primary_uza</th>\n", " <td>0</td>\n", - " <td>0</td>\n", " </tr>\n", " <tr>\n", " <th>reporter_type</th>\n", - " <td>0</td>\n", - " <td>0</td>\n", + " <td>Rural Reporter</td>\n", + " </tr>\n", + " <tr>\n", + " <th>n_names</th>\n", + " <td>2</td>\n", " </tr>\n", " </tbody>\n", "</table>\n", "</div>" ], "text/plain": [ - " 130 \\\n", - "schedule_gtfs_dataset_key c3499b856c717e5706299664fb1c5261 \n", - "vp_per_min_agency 2.89 \n", - "spatial_accuracy_agency 93.59 \n", - "service_date 2024-11-13 00:00:00 \n", - "operator_n_routes 4.00 \n", - "operator_n_trips 121.00 \n", - "operator_n_shapes 9.00 \n", - "operator_n_stops 117.00 \n", - "operator_n_arrivals 2544.00 \n", - "operator_route_length_miles 64.68 \n", - "operator_arrivals_per_stop 21.74 \n", - "n_downtown_local_routes 0.00 \n", - "n_local_routes 1.00 \n", - "n_coverage_routes 3.00 \n", - "n_rapid_routes 3.00 \n", - "n_express_routes 0.00 \n", - "n_rail_routes 0.00 \n", - "name Tahoe Transportation District GMV Schedule \n", - "organization_source_record_id rec3u4aMplqObcoTR \n", - "organization_name Tahoe Transportation District \n", - "caltrans_district 03 - Marysville \n", - "counties_served 0 \n", - "service_area_sq_miles 0 \n", - "hq_city 0 \n", - "uza_name 0 \n", - "service_area_pop 0 \n", - "organization_type 0 \n", - "primary_uza 0 \n", - "reporter_type 0 \n", - "\n", - " 131 \n", - "schedule_gtfs_dataset_key 07d3b79f14cec8099119e1eb649f065b \n", - "vp_per_min_agency 0.00 \n", - "spatial_accuracy_agency 0.00 \n", - "service_date 2024-11-13 00:00:00 \n", - "operator_n_routes 5.00 \n", - "operator_n_trips 132.00 \n", - "operator_n_shapes 13.00 \n", - "operator_n_stops 123.00 \n", - "operator_n_arrivals 2409.00 \n", - "operator_route_length_miles 90.82 \n", - "operator_arrivals_per_stop 19.59 \n", - "n_downtown_local_routes 0.00 \n", - "n_local_routes 1.00 \n", - "n_coverage_routes 3.00 \n", - "n_rapid_routes 3.00 \n", - "n_express_routes 0.00 \n", - "n_rail_routes 0.00 \n", - "name Tahoe Transportation District Schedule \n", - "organization_source_record_id rec3u4aMplqObcoTR \n", - "organization_name Tahoe Transportation District \n", - "caltrans_district 03 - Marysville \n", - "counties_served 0 \n", - "service_area_sq_miles 0 \n", - "hq_city 0 \n", - "uza_name 0 \n", - "service_area_pop 0 \n", - "organization_type 0 \n", - "primary_uza 0 \n", - "reporter_type 0 " + " 7\n", + "schedule_gtfs_dataset_key 4383eb1cca04093020f1583f57f32d9b\n", + "vp_per_min_agency 2.93\n", + "spatial_accuracy_agency 84.83\n", + "service_date 2024-11-13 00:00:00\n", + "operator_n_routes 5.00\n", + "operator_n_trips 54.00\n", + "operator_n_shapes 9.00\n", + "operator_n_stops 39.00\n", + "operator_n_arrivals 472.00\n", + "operator_route_length_miles 220.10\n", + "operator_arrivals_per_stop 12.10\n", + "n_downtown_local_routes 1.00\n", + "n_local_routes 2.00\n", + "n_coverage_routes 8.00\n", + "n_rapid_routes 1.00\n", + "n_express_routes 1.00\n", + "n_rail_routes 0.00\n", + "name Desert Roadrunner GMV Schedule\n", + "organization_source_record_id recGcv4NidDjwVSiN\n", + "organization_name Palo Verde Valley Transit Agency\n", + "caltrans_district 08 - San Bernardino\n", + "counties_served 0\n", + "service_area_sq_miles 0\n", + "hq_city Blythe\n", + "uza_name 0\n", + "service_area_pop 0\n", + "organization_type Public Agency or Authority of Transit Service\n", + "primary_uza 0\n", + "reporter_type Rural Reporter\n", + "n_names 2" ] }, - "execution_count": 31, "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "operator_df2.loc[operator_df2.name.isin(tahoe_subset)].T" - ] - }, - { - "cell_type": "markdown", - "id": "60f3035f-8d89-4d4a-992c-dd3b51a46ca6", - "metadata": {}, - "source": [ - "### View two names to one org examples: 15 of these cases.\n", - "* D1 Redwood Coast Transit Authority - One name is misspelled\n", - "* D3: City of Roseville\n", - "* D3: Tahoe Transportation District \t\n", - "* D4: Mission Bay Transportation Management Agency \t\n", - "* D4: Presidio Trust \t\n", - "* D5: City of San Luis Obispo \t\n", - "* D7: City of Downey \t\n", - "* D7: City of Lawndale\n", - "* D7: Los Angeles County Metropolitan Transportation Authority \t (this one is ok)\n", - "* D8: Basin Transit\n", - "* D8: City of Beaumont\n", - "* D8:Mountain Area Regional Transit Authority\n", - "* D8: Palo Verde Valley Transit Agency \t\n", - "* D8: Victor Valley Transit Authority \t\n", - "* D10: Transit Joint Powers Authority for Merced County \t\n", - "* " - ] - }, - { - "cell_type": "code", - "execution_count": 26, - "id": "97b74658-d1d9-49b7-8ab3-70959532c1b2", - "metadata": { - "scrolled": true, - "tags": [] - }, - "outputs": [ + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Presidio Trust\n" + ] + }, { "data": { "text/html": [ @@ -2862,873 +2360,907 @@ " <thead>\n", " <tr style=\"text-align: right;\">\n", " <th></th>\n", - " <th></th>\n", - " <th></th>\n", - " <th>service_date</th>\n", - " </tr>\n", - " <tr>\n", - " <th>caltrans_district</th>\n", - " <th>organization_name</th>\n", - " <th>name</th>\n", - " <th></th>\n", + " <th>8</th>\n", " </tr>\n", " </thead>\n", " <tbody>\n", " <tr>\n", - " <th rowspan=\"5\" valign=\"top\">01 - Eureka</th>\n", - " <th>City of Eureka</th>\n", - " <th>Humboldt Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Lake Transit Authority</th>\n", - " <th>Lake Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Mendocino Transit Authority</th>\n", - " <th>Mendocino Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">Redwood Coast Transit Authority</th>\n", - " <th>Redwood Coast Schedule</th>\n", - " <td>1</td>\n", + " <th>schedule_gtfs_dataset_key</th>\n", + " <td>85a39da903f4beb0b66a4ba6f16a35af</td>\n", " </tr>\n", " <tr>\n", - " <th>Redwood Coast Schedulel</th>\n", - " <td>1</td>\n", + " <th>vp_per_min_agency</th>\n", + " <td>3.00</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"7\" valign=\"top\">02 - Redding</th>\n", - " <th>Lassen Transit Service Agency</th>\n", - " <th>Lassen Schedule</th>\n", - " <td>1</td>\n", + " <th>spatial_accuracy_agency</th>\n", + " <td>45.74</td>\n", " </tr>\n", " <tr>\n", - " <th>Modoc Transportation Agency</th>\n", - " <th>Sage Stage Schedule</th>\n", - " <td>1</td>\n", + " <th>service_date</th>\n", + " <td>2024-11-13 00:00:00</td>\n", " </tr>\n", " <tr>\n", - " <th>Plumas Transit Systems</th>\n", - " <th>Plumas Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_routes</th>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Shasta County</th>\n", - " <th>Redding Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_trips</th>\n", + " <td>56.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Siskiyou County</th>\n", - " <th>Siskiyou Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_shapes</th>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Tehama County</th>\n", - " <th>Tehama Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_stops</th>\n", + " <td>31.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Trinity County</th>\n", - " <th>Trinity Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_arrivals</th>\n", + " <td>890.00</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"17\" valign=\"top\">03 - Marysville</th>\n", - " <th>Butte County Association of Governments</th>\n", - " <th>B-Line Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_route_length_miles</th>\n", + " <td>15.64</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Auburn</th>\n", - " <th>Auburn Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_arrivals_per_stop</th>\n", + " <td>28.71</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Elk Grove</th>\n", - " <th>Elk Grove Schedule</th>\n", - " <td>1</td>\n", + " <th>n_downtown_local_routes</th>\n", + " <td>2.00</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Rancho Cordova</th>\n", - " <th>Sacramento Schedule</th>\n", - " <td>1</td>\n", + " <th>n_local_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">City of Roseville</th>\n", - " <th>Roseville Schedule</th>\n", - " <td>1</td>\n", + " <th>n_coverage_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Roseville Transit GMV Schedule</th>\n", - " <td>1</td>\n", + " <th>n_rapid_routes</th>\n", + " <td>1.00</td>\n", " </tr>\n", " <tr>\n", - " <th>El Dorado County Transit Authority</th>\n", - " <th>El Dorado Schedule</th>\n", - " <td>1</td>\n", + " <th>n_express_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Glenn County</th>\n", - " <th>Glenn Schedule</th>\n", - " <td>1</td>\n", + " <th>n_rail_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Nevada County</th>\n", - " <th>Nevada County Schedule</th>\n", - " <td>1</td>\n", + " <th>name</th>\n", + " <td>Bay Area 511 PresidiGo Schedule</td>\n", " </tr>\n", " <tr>\n", - " <th>North Lake Tahoe Express</th>\n", - " <th>TART, North Lake Tahoe Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_source_record_id</th>\n", + " <td>recsBfXgev9ICDCY1</td>\n", " </tr>\n", " <tr>\n", - " <th>Placer County</th>\n", - " <th>Placer Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_name</th>\n", + " <td>Presidio Trust</td>\n", " </tr>\n", " <tr>\n", - " <th>Sacramento County</th>\n", - " <th>South County Transit Link Schedule</th>\n", - " <td>1</td>\n", + " <th>caltrans_district</th>\n", + " <td>04 - Oakland</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">Tahoe Transportation District</th>\n", - " <th>Tahoe Transportation District GMV Schedule</th>\n", - " <td>1</td>\n", + " <th>counties_served</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>Tahoe Transportation District Schedule</th>\n", - " <td>1</td>\n", + " <th>service_area_sq_miles</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>University of California, Davis</th>\n", - " <th>Unitrans Schedule</th>\n", - " <td>1</td>\n", + " <th>hq_city</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>Yolo County Transportation District</th>\n", - " <th>Yolobus Schedule</th>\n", - " <td>1</td>\n", + " <th>uza_name</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>Yuba-Sutter Transit Authority</th>\n", - " <th>Yuba-Sutter Schedule</th>\n", - " <td>1</td>\n", + " <th>service_area_pop</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"33\" valign=\"top\">04 - Oakland</th>\n", - " <th>Alameda-Contra Costa Transit District</th>\n", - " <th>Bay Area 511 AC Transit Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_type</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>Capitol Corridor Joint Powers Authority</th>\n", - " <th>Bay Area 511 Capitol Corridor Schedule</th>\n", - " <td>1</td>\n", + " <th>primary_uza</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>Central Contra Costa Transit Authority</th>\n", - " <th>Bay Area 511 County Connection Schedule</th>\n", - " <td>1</td>\n", + " <th>reporter_type</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>City and County of San Francisco</th>\n", - " <th>Bay Area 511 Muni Schedule</th>\n", - " <td>1</td>\n", + " <th>n_names</th>\n", + " <td>2</td>\n", " </tr>\n", - " <tr>\n", - " <th>City of Fairfield</th>\n", - " <th>Bay Area 511 Fairfield and Suisun Transit Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Menlo Park</th>\n", - " <th>Bay Area 511 Commute.org Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Mountain View</th>\n", - " <th>Bay Area 511 Mountain View Community Shuttle Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Petaluma</th>\n", - " <th>Bay Area 511 Petaluma Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Rio Vista</th>\n", - " <th>Bay Area 511 Rio Vista Delta Breeze Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Santa Rosa</th>\n", - " <th>Bay Area 511 Santa Rosa CityBus Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of South San Francisco</th>\n", - " <th>Bay Area 511 South San Francisco Shuttle Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Union City</th>\n", - " <th>Bay Area 511 Union City Transit Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Vacaville</th>\n", - " <th>Bay Area 511 Vacaville City Coach Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Dumbarton Bridge Regional Operations Consortium</th>\n", - " <th>Bay Area 511 Dumbarton Express Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Eastern Contra Costa Transit Authority</th>\n", - " <th>Bay Area 511 Tri Delta Schedule</th>\n", - " <td>1</td>\n", + " </tbody>\n", + "</table>\n", + "</div>" + ], + "text/plain": [ + " 8\n", + "schedule_gtfs_dataset_key 85a39da903f4beb0b66a4ba6f16a35af\n", + "vp_per_min_agency 3.00\n", + "spatial_accuracy_agency 45.74\n", + "service_date 2024-11-13 00:00:00\n", + "operator_n_routes 2.00\n", + "operator_n_trips 56.00\n", + "operator_n_shapes 2.00\n", + "operator_n_stops 31.00\n", + "operator_n_arrivals 890.00\n", + "operator_route_length_miles 15.64\n", + "operator_arrivals_per_stop 28.71\n", + "n_downtown_local_routes 2.00\n", + "n_local_routes 0.00\n", + "n_coverage_routes 0.00\n", + "n_rapid_routes 1.00\n", + "n_express_routes 0.00\n", + "n_rail_routes 0.00\n", + "name Bay Area 511 PresidiGo Schedule\n", + "organization_source_record_id recsBfXgev9ICDCY1\n", + "organization_name Presidio Trust\n", + "caltrans_district 04 - Oakland\n", + "counties_served 0\n", + "service_area_sq_miles 0\n", + "hq_city 0\n", + "uza_name 0\n", + "service_area_pop 0\n", + "organization_type 0\n", + "primary_uza 0\n", + "reporter_type 0\n", + "n_names 2" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Tahoe Transportation District\n" + ] + }, + { + "data": { + "text/html": [ + "<div>\n", + "<style scoped>\n", + " .dataframe tbody tr th:only-of-type {\n", + " vertical-align: middle;\n", + " }\n", + "\n", + " .dataframe tbody tr th {\n", + " vertical-align: top;\n", + " }\n", + "\n", + " .dataframe thead th {\n", + " text-align: right;\n", + " }\n", + "</style>\n", + "<table border=\"1\" class=\"dataframe\">\n", + " <thead>\n", + " <tr style=\"text-align: right;\">\n", + " <th></th>\n", + " <th>10</th>\n", " </tr>\n", + " </thead>\n", + " <tbody>\n", " <tr>\n", - " <th>Emeryville Transportation Management Agency</th>\n", - " <th>Bay Area 511 Emery Go-Round Schedule</th>\n", - " <td>1</td>\n", + " <th>schedule_gtfs_dataset_key</th>\n", + " <td>c3499b856c717e5706299664fb1c5261</td>\n", " </tr>\n", " <tr>\n", - " <th>Golden Gate Bridge, Highway and Transportation District</th>\n", - " <th>Bay Area 511 Golden Gate Transit Schedule</th>\n", - " <td>1</td>\n", + " <th>vp_per_min_agency</th>\n", + " <td>2.89</td>\n", " </tr>\n", " <tr>\n", - " <th>Livermore-Amador Valley Transit Authority</th>\n", - " <th>Bay Area 511 Tri-Valley Wheels Schedule</th>\n", - " <td>1</td>\n", + " <th>spatial_accuracy_agency</th>\n", + " <td>93.59</td>\n", " </tr>\n", " <tr>\n", - " <th>Marin County Transit District</th>\n", - " <th>Bay Area 511 Marin Schedule</th>\n", - " <td>1</td>\n", + " <th>service_date</th>\n", + " <td>2024-11-13 00:00:00</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">Mission Bay Transportation Management Agency</th>\n", - " <th>Bay Area 511 Mission Bay Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_routes</th>\n", + " <td>4.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Mission Bay Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_trips</th>\n", + " <td>121.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Mountain View Transportation Management Association</th>\n", - " <th>Bay Area 511 MVGO Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_shapes</th>\n", + " <td>9.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Napa Valley Transportation Authority</th>\n", - " <th>Bay Area 511 Vine Transit Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_stops</th>\n", + " <td>117.00</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">Presidio Trust</th>\n", - " <th>Bay Area 511 PresidiGo Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_arrivals</th>\n", + " <td>2544.00</td>\n", " </tr>\n", " <tr>\n", - " <th>PresidiGo Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_route_length_miles</th>\n", + " <td>64.68</td>\n", " </tr>\n", " <tr>\n", - " <th>San Francisco Bay Area Rapid Transit District</th>\n", - " <th>Bay Area 511 BART Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_arrivals_per_stop</th>\n", + " <td>21.74</td>\n", " </tr>\n", " <tr>\n", - " <th>San Mateo County Transit District</th>\n", - " <th>Bay Area 511 SamTrans Schedule</th>\n", - " <td>1</td>\n", + " <th>n_downtown_local_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Santa Clara Valley Transportation Authority</th>\n", - " <th>Bay Area 511 Santa Clara Transit Schedule</th>\n", - " <td>1</td>\n", + " <th>n_local_routes</th>\n", + " <td>1.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Solano County Transit</th>\n", - " <th>Bay Area 511 SolTrans Schedule</th>\n", - " <td>1</td>\n", + " <th>n_coverage_routes</th>\n", + " <td>3.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Sonoma County</th>\n", - " <th>Bay Area 511 Sonoma County Transit Schedule</th>\n", - " <td>1</td>\n", + " <th>n_rapid_routes</th>\n", + " <td>3.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Stanford University</th>\n", - " <th>Stanford Schedule</th>\n", - " <td>1</td>\n", + " <th>n_express_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>University of California, Berkeley</th>\n", - " <th>Bear Schedule</th>\n", - " <td>1</td>\n", + " <th>n_rail_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Western Contra Costa Transit Authority</th>\n", - " <th>Bay Area 511 WestCAT Schedule</th>\n", - " <td>1</td>\n", + " <th>name</th>\n", + " <td>Tahoe Transportation District GMV Schedule</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"12\" valign=\"top\">05 - San Luis Obispo</th>\n", - " <th>City of Guadalupe</th>\n", - " <th>Guadalupe Flyer Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_source_record_id</th>\n", + " <td>rec3u4aMplqObcoTR</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">City of San Luis Obispo</th>\n", - " <th>SLO Peak Transit Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_name</th>\n", + " <td>Tahoe Transportation District</td>\n", " </tr>\n", " <tr>\n", - " <th>SLO Schedule</th>\n", - " <td>1</td>\n", + " <th>caltrans_district</th>\n", + " <td>03 - Marysville</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Santa Maria</th>\n", - " <th>Santa Maria Schedule</th>\n", - " <td>1</td>\n", + " <th>counties_served</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Solvang</th>\n", - " <th>Santa Ynez Mecatran Schedule</th>\n", - " <td>1</td>\n", + " <th>service_area_sq_miles</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>Monterey-Salinas Transit</th>\n", - " <th>Monterey Salinas Schedule</th>\n", - " <td>1</td>\n", + " <th>hq_city</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>San Benito County Local Transportation Authority</th>\n", - " <th>County Express Schedule</th>\n", - " <td>1</td>\n", + " <th>uza_name</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>San Luis Obispo Regional Transit Authority</th>\n", - " <th>SLORTA Schedule</th>\n", - " <td>1</td>\n", + " <th>service_area_pop</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>Santa Barbara County Association of Governments</th>\n", - " <th>Clean Air Express Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_type</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>Santa Barbara Metropolitan Transit District</th>\n", - " <th>SBMTD Schedule</th>\n", - " <td>1</td>\n", + " <th>primary_uza</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>Santa Cruz Metropolitan Transit District</th>\n", - " <th>Santa Cruz Schedule</th>\n", - " <td>1</td>\n", + " <th>reporter_type</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>University of California, Santa Cruz</th>\n", - " <th>UCSC Schedule</th>\n", - " <td>1</td>\n", + " <th>n_names</th>\n", + " <td>2</td>\n", " </tr>\n", - " <tr>\n", - " <th rowspan=\"12\" valign=\"top\">06 - Fresno</th>\n", - " <th>City of Arvin</th>\n", - " <th>Arvin Schedule</th>\n", - " <td>1</td>\n", + " </tbody>\n", + "</table>\n", + "</div>" + ], + "text/plain": [ + " 10\n", + "schedule_gtfs_dataset_key c3499b856c717e5706299664fb1c5261\n", + "vp_per_min_agency 2.89\n", + "spatial_accuracy_agency 93.59\n", + "service_date 2024-11-13 00:00:00\n", + "operator_n_routes 4.00\n", + "operator_n_trips 121.00\n", + "operator_n_shapes 9.00\n", + "operator_n_stops 117.00\n", + "operator_n_arrivals 2544.00\n", + "operator_route_length_miles 64.68\n", + "operator_arrivals_per_stop 21.74\n", + "n_downtown_local_routes 0.00\n", + "n_local_routes 1.00\n", + "n_coverage_routes 3.00\n", + "n_rapid_routes 3.00\n", + "n_express_routes 0.00\n", + "n_rail_routes 0.00\n", + "name Tahoe Transportation District GMV Schedule\n", + "organization_source_record_id rec3u4aMplqObcoTR\n", + "organization_name Tahoe Transportation District\n", + "caltrans_district 03 - Marysville\n", + "counties_served 0\n", + "service_area_sq_miles 0\n", + "hq_city 0\n", + "uza_name 0\n", + "service_area_pop 0\n", + "organization_type 0\n", + "primary_uza 0\n", + "reporter_type 0\n", + "n_names 2" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Victor Valley Transit Authority\n" + ] + }, + { + "data": { + "text/html": [ + "<div>\n", + "<style scoped>\n", + " .dataframe tbody tr th:only-of-type {\n", + " vertical-align: middle;\n", + " }\n", + "\n", + " .dataframe tbody tr th {\n", + " vertical-align: top;\n", + " }\n", + "\n", + " .dataframe thead th {\n", + " text-align: right;\n", + " }\n", + "</style>\n", + "<table border=\"1\" class=\"dataframe\">\n", + " <thead>\n", + " <tr style=\"text-align: right;\">\n", + " <th></th>\n", + " <th>11</th>\n", " </tr>\n", + " </thead>\n", + " <tbody>\n", " <tr>\n", - " <th>City of Clovis</th>\n", - " <th>Clovis Schedule</th>\n", - " <td>1</td>\n", + " <th>schedule_gtfs_dataset_key</th>\n", + " <td>8eecb796518dafd3c1b971a99f8b8252</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Delano</th>\n", - " <th>Delano Schedule</th>\n", - " <td>1</td>\n", + " <th>vp_per_min_agency</th>\n", + " <td>2.85</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Fresno</th>\n", - " <th>Fresno Schedule</th>\n", - " <td>1</td>\n", + " <th>spatial_accuracy_agency</th>\n", + " <td>94.57</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Madera</th>\n", - " <th>Madera Metro Schedule</th>\n", - " <td>1</td>\n", + " <th>service_date</th>\n", + " <td>2024-11-13 00:00:00</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Visalia</th>\n", - " <th>Visalia Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_routes</th>\n", + " <td>33.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Fresno County Rural Transit Agency</th>\n", - " <th>Fresno County Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_trips</th>\n", + " <td>859.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Golden Empire Transit District</th>\n", - " <th>GET Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_shapes</th>\n", + " <td>75.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Kern County</th>\n", - " <th>Kern Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_stops</th>\n", + " <td>1062.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Kings County Area Public Transit Agency</th>\n", - " <th>Kings Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_n_arrivals</th>\n", + " <td>20968.00</td>\n", " </tr>\n", " <tr>\n", - " <th>Madera County</th>\n", - " <th>Madera County Connection Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_route_length_miles</th>\n", + " <td>820.10</td>\n", " </tr>\n", " <tr>\n", - " <th>Tulare County Regional Transit Agency</th>\n", - " <th>TIME GMV Schedule</th>\n", - " <td>1</td>\n", + " <th>operator_arrivals_per_stop</th>\n", + " <td>19.74</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"50\" valign=\"top\">07 - Los Angeles</th>\n", - " <th>Antelope Valley Transit Authority</th>\n", - " <th>Antelope Valley Transit Authority Schedule</th>\n", - " <td>1</td>\n", + " <th>n_downtown_local_routes</th>\n", + " <td>34.00</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Alhambra</th>\n", - " <th>Alhambra Schedule</th>\n", - " <td>1</td>\n", + " <th>n_local_routes</th>\n", + " <td>17.00</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Arcadia</th>\n", - " <th>Arcadia Schedule</th>\n", - " <td>1</td>\n", + " <th>n_coverage_routes</th>\n", + " <td>22.00</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Avalon</th>\n", - " <th>Avalon Schedule</th>\n", - " <td>1</td>\n", + " <th>n_rapid_routes</th>\n", + " <td>37.00</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Baldwin Park</th>\n", - " <th>Baldwin Park Schedule</th>\n", - " <td>1</td>\n", + " <th>n_express_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Bell</th>\n", - " <th>La Campana Schedule</th>\n", - " <td>1</td>\n", + " <th>n_rail_routes</th>\n", + " <td>0.00</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Bell Gardens</th>\n", - " <th>Bell Gardens Schedule</th>\n", - " <td>1</td>\n", + " <th>name</th>\n", + " <td>Victor Valley GMV Schedule</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Bellflower</th>\n", - " <th>Bellflower Bus Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_source_record_id</th>\n", + " <td>recJcXMNC5MUm2uDe</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Burbank</th>\n", - " <th>Burbank Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_name</th>\n", + " <td>Victor Valley Transit Authority</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Calabasas</th>\n", - " <th>Calabasas Schedule</th>\n", - " <td>1</td>\n", + " <th>caltrans_district</th>\n", + " <td>08 - San Bernardino</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Cerritos</th>\n", - " <th>Cerritos on Wheels Website Schedule</th>\n", - " <td>1</td>\n", + " <th>counties_served</th>\n", + " <td>San Bernardino</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Commerce</th>\n", - " <th>Commerce Schedule</th>\n", - " <td>1</td>\n", + " <th>service_area_sq_miles</th>\n", + " <td>327</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Cudahy</th>\n", - " <th>Cudahy Schedule</th>\n", - " <td>1</td>\n", + " <th>hq_city</th>\n", + " <td>Hesperia</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Culver City</th>\n", - " <th>Culver City Schedule</th>\n", - " <td>1</td>\n", + " <th>uza_name</th>\n", + " <td>Victorville--Hesperia--Apple Valley, CA</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">City of Downey</th>\n", - " <th>DowneyLINK GMV Schedule</th>\n", - " <td>1</td>\n", + " <th>service_area_pop</th>\n", + " <td>344288</td>\n", " </tr>\n", " <tr>\n", - " <th>DowneyLINK Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_type</th>\n", + " <td>Public Agency or Authority of Transit Service</td>\n", " </tr>\n", " <tr>\n", - " <th>City of Duarte</th>\n", - " <th>Foothill Schedule</th>\n", - " <td>1</td>\n", + " <th>primary_uza</th>\n", + " <td>0</td>\n", " </tr>\n", " <tr>\n", - " <th>City of El Monte</th>\n", - " <th>El Monte Schedule</th>\n", - " <td>1</td>\n", + " <th>reporter_type</th>\n", + " <td>Full Reporter</td>\n", " </tr>\n", " <tr>\n", - " <th>City of El Segundo</th>\n", - " <th>El Segundo Schedule</th>\n", - " <td>1</td>\n", + " <th>n_names</th>\n", + " <td>2</td>\n", " </tr>\n", - " <tr>\n", - " <th>City of Gardena</th>\n", - " <th>G Trans Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Glendale</th>\n", - " <th>Glendale Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Glendora</th>\n", - " <th>Glendora Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Huntington Park</th>\n", - " <th>Huntington Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Inglewood</th>\n", - " <th>Inglewood Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of La Puente</th>\n", - " <th>La Puente Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">City of Lawndale</th>\n", - " <th>Lawndale Beat GMV Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Lawndale Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Los Angeles</th>\n", - " <th>LA DOT Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Lynwood</th>\n", - " <th>Lynwood Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Maywood</th>\n", - " <th>Maywood Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Monterey Park</th>\n", - " <th>Spirit Bus Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Norwalk</th>\n", - " <th>Norwalk Avail Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Ojai</th>\n", - " <th>VCTC GMV Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Pasadena</th>\n", - " <th>Pasadena Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Redondo Beach</th>\n", - " <th>Beach Cities GMV Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Rosemead</th>\n", - " <th>Rosemead Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Santa Clarita</th>\n", - " <th>Santa Clarita Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Santa Monica</th>\n", - " <th>Big Blue Bus Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of South Gate</th>\n", - " <th>Get Around Town Express Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Torrance</th>\n", - " <th>Torrance Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of West Covina</th>\n", - " <th>Go West Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of West Hollywood</th>\n", - " <th>WeHo Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Greyhound</th>\n", - " <th>Flixbus Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Long Beach Transit</th>\n", - " <th>Long Beach Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Los Angeles County</th>\n", - " <th>LADPW Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">Los Angeles County Metropolitan Transportation Authority</th>\n", - " <th>LA Metro Bus Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>LA Metro Rail Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Los Angeles World Airports</th>\n", - " <th>LAX FlyAway Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Palos Verdes Peninsula Transit Authority</th>\n", - " <th>Palos Verdes PTA Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>University of California, Los Angeles</th>\n", - " <th>BruinBus Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"15\" valign=\"top\">08 - San Bernardino</th>\n", - " <th rowspan=\"2\" valign=\"top\">Basin Transit</th>\n", - " <th>Basin Transit GMV Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Morongo Basin Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Banning</th>\n", - " <th>Banning Pass Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">City of Beaumont</th>\n", - " <th>Beaumont Pass Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Beaumont Transit Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Corona</th>\n", - " <th>Corona Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Needles</th>\n", - " <th>Needles Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">Mountain Area Regional Transit Authority</th>\n", - " <th>Mountain Transit GMV Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Mountain Transit Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>OmniTrans</th>\n", - " <th>OmniTrans Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">Palo Verde Valley Transit Agency</th>\n", - " <th>Desert Roadrunner GMV Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Desert Roadrunner Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Riverside Transit Agency</th>\n", - " <th>Riverside Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">Victor Valley Transit Authority</th>\n", - " <th>Victor Valley GMV Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Victor Valley Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>09 - Bishop</th>\n", - " <th>Eastern Sierra Transit Authority</th>\n", - " <th>Eastern Sierra Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"13\" valign=\"top\">10 - Stockton</th>\n", - " <th>Amador Regional Transit System</th>\n", - " <th>Amador Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Calaveras Transit Agency</th>\n", - " <th>Calaveras Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Escalon</th>\n", - " <th>eTrans Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Lodi</th>\n", - " <th>Grapeline Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Manteca</th>\n", - " <th>Manteca Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Ripon</th>\n", - " <th>Blossom Express Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Tracy</th>\n", - " <th>Tracy Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>City of Turlock</th>\n", - " <th>Turlock Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>San Joaquin Regional Transit District</th>\n", - " <th>San Joaquin Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Stanislaus Regional Transit Authority</th>\n", - " <th>StanRTA Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"2\" valign=\"top\">Transit Joint Powers Authority for Merced County</th>\n", - " <th>Merced GMV Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Merced Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th>Yosemite Area Regional Transportation System</th>\n", - " <th>YARTS Schedule</th>\n", - " <td>1</td>\n", - " </tr>\n", - " <tr>\n", - " <th rowspan=\"4\" valign=\"top\">11 - San Diego</th>\n", - " <th>Imperial County Transportation Commission</th>\n", - " <th>Imperial Valley Transit Schedule</th>\n", - " <td>1</td>\n", + " </tbody>\n", + "</table>\n", + "</div>" + ], + "text/plain": [ + " 11\n", + "schedule_gtfs_dataset_key 8eecb796518dafd3c1b971a99f8b8252\n", + "vp_per_min_agency 2.85\n", + "spatial_accuracy_agency 94.57\n", + "service_date 2024-11-13 00:00:00\n", + "operator_n_routes 33.00\n", + "operator_n_trips 859.00\n", + "operator_n_shapes 75.00\n", + "operator_n_stops 1062.00\n", + "operator_n_arrivals 20968.00\n", + "operator_route_length_miles 820.10\n", + "operator_arrivals_per_stop 19.74\n", + "n_downtown_local_routes 34.00\n", + "n_local_routes 17.00\n", + "n_coverage_routes 22.00\n", + "n_rapid_routes 37.00\n", + "n_express_routes 0.00\n", + "n_rail_routes 0.00\n", + "name Victor Valley GMV Schedule\n", + "organization_source_record_id recJcXMNC5MUm2uDe\n", + "organization_name Victor Valley Transit Authority\n", + "caltrans_district 08 - San Bernardino\n", + "counties_served San Bernardino\n", + "service_area_sq_miles 327\n", + "hq_city Hesperia\n", + "uza_name Victorville--Hesperia--Apple Valley, CA\n", + "service_area_pop 344288\n", + "organization_type Public Agency or Authority of Transit Service\n", + "primary_uza 0\n", + "reporter_type Full Reporter\n", + "n_names 2" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ + "for organization in list(orgs_with_2_names_df4.organization_name.unique()):\n", + " print(organization)\n", + " filtered = orgs_with_2_names_df5.loc[\n", + " orgs_with_2_names_df5.organization_name == organization\n", + " ].T\n", + " filtered = filtered.fillna(0)\n", + " try:\n", + " filtered.columns = [\"name1\", \"name2\"]\n", + " filtered[\"same\"] = filtered.name1 == filtered.name2\n", + " display(filtered.same.value_counts())\n", + " display(filtered)\n", + " except:\n", + " display(filtered)" + ] + }, + { + "cell_type": "markdown", + "id": "9f0d5774-050f-4d23-a19a-e474af08585b", + "metadata": {}, + "source": [ + "### Add column into crosswalk: `gtfs_funnel/crosswalk_gtfs_dataset_key_to_organization`" + ] + }, + { + "cell_type": "code", + "execution_count": 37, + "id": "2de89a0d-c230-4399-8b78-a7e78c1059ac", + "metadata": {}, + "outputs": [], + "source": [ + "import sys\n", + "\n", + "sys.path.append(\"../gtfs_funnel\")" + ] + }, + { + "cell_type": "code", + "execution_count": 38, + "id": "6cdd1539-c25e-435f-be51-f4755e2f7f21", + "metadata": {}, + "outputs": [], + "source": [ + "may_date = \"2024-05-22\"" + ] + }, + { + "cell_type": "code", + "execution_count": 39, + "id": "50214d31-1212-4d72-8df0-3065301d1255", + "metadata": {}, + "outputs": [], + "source": [ + "df = helpers.import_scheduled_trips(\n", + " may_date,\n", + " columns=[\n", + " \"gtfs_dataset_key\",\n", + " \"name\",\n", + " \"regional_feed_type\",\n", + " ],\n", + " get_pandas=True,\n", + ").rename(columns={\"schedule_gtfs_dataset_key\": \"gtfs_dataset_key\"})" + ] + }, + { + "cell_type": "code", + "execution_count": 40, + "id": "1b931452-e341-4a69-9d92-d96c6413b51e", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(168, 3)" + ] + }, + "execution_count": 40, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "df.shape" + ] + }, + { + "cell_type": "markdown", + "id": "8eb11d3d-c579-41ee-9d5e-e00716847fdc", + "metadata": {}, + "source": [ + "#### Lots of missing values for `regional_feed_type` so this isn't very helpful." + ] + }, + { + "cell_type": "markdown", + "id": "a73c194e-1aa0-4477-9dc0-2def277b2566", + "metadata": {}, + "source": [ + "## Try to deduplicate all in a notebook." + ] + }, + { + "cell_type": "code", + "execution_count": 41, + "id": "19fc8dc0-764e-4e66-b274-6be4e029cfe7", + "metadata": {}, + "outputs": [], + "source": [ + "district = \"08 - San Bernardino\"" + ] + }, + { + "cell_type": "code", + "execution_count": 42, + "id": "e7b5efa5-436d-445c-8846-b52b25307fdf", + "metadata": {}, + "outputs": [], + "source": [ + "operator_df = pd.read_parquet(\n", + " f\"{RT_SCHED_GCS}{OPERATOR_FILE}.parquet\",\n", + " filters=[[(\"caltrans_district\", \"==\", district)]],\n", + ")\n", + "\n", + "# using name instead of schedule_gtfs_dataset_key allows us to get\n", + "# the last ones for LA Metro without keeping extraneous rows for LA Metro when keys changed\n", + "operator_df = (\n", + " operator_df.sort_values([\"service_date\", \"name\"], ascending=[False, True])\n", + " .drop_duplicates(subset=[\"name\"])\n", + " .reset_index(drop=True)\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 43, + "id": "67745c26-491e-4f99-83d9-fe06c7a53da7", + "metadata": {}, + "outputs": [], + "source": [ + "# First find any organizations with more than 2 names per org-name\n", + "orgs_agg = (\n", + " operator_df.groupby([\"caltrans_district\", \"organization_name\"])\n", + " .agg({\"name\": \"nunique\"})\n", + " .reset_index()\n", + ")\n", + "orgs_agg2 = orgs_agg.loc[orgs_agg.name > 1]\n", + "orgs_with_2_names = list(orgs_agg2.organization_name.unique())" + ] + }, + { + "cell_type": "code", + "execution_count": 44, + "id": "ff536cb5-d38b-4a63-9320-ba8c2f1c0255", + "metadata": {}, + "outputs": [], + "source": [ + "# Delete out these organizations from the original df so we can manipulate them.\n", + "operator_df2 = operator_df.loc[\n", + " ~operator_df.organization_name.isin(orgs_with_2_names)\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 45, + "id": "09ba03d2-4aa9-4a31-8875-b2eae80b79d5", + "metadata": {}, + "outputs": [], + "source": [ + "# Filter for these organizations with more than 2 names in their own df.\n", + "orgs_with_2_names_df = operator_df.loc[\n", + " operator_df.organization_name.isin(orgs_with_2_names)\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 46, + "id": "ebd70308-d86a-4543-a00b-157467856881", + "metadata": {}, + "outputs": [], + "source": [ + "# Keep only records that are from the past 3 months\n", + "three_month_reference = orgs_with_2_names_df2[\"service_date\"].max() - pd.DateOffset(\n", + " months=3\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 47, + "id": "57c54b9f-8e0b-4021-ae3d-9eede0ed94f1", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df = orgs_with_2_names_df[\n", + " orgs_with_2_names_df[\"service_date\"] >= three_month_reference\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 49, + "id": "fdc50401-00ab-4594-8232-8bb00aa15e8e", + "metadata": {}, + "outputs": [], + "source": [ + "# Filter out any rows in which `vp_per_min_agency` and `spatial_accuracy_agency` is equal than 0\n", + "# and still has 2+ names\n", + "orgs_agg = (\n", + " orgs_with_2_names_df.groupby([\"organization_name\"])\n", + " .agg({\"name\": \"nunique\"})\n", + " .reset_index()\n", + " .rename(columns={\"name\": \"n_names\"})\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 50, + "id": "60b44b84-f8f3-45c5-9359-b7c9f33d0931", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df = pd.merge(\n", + " orgs_with_2_names_df, orgs_agg, on=\"organization_name\", how=\"left\"\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 51, + "id": "43b76ab4-e9ec-42f7-82d7-f7858cd57714", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df2 = orgs_with_2_names_df[\n", + " (orgs_with_2_names_df.vp_per_min_agency > 0)\n", + " & (orgs_with_2_names_df.spatial_accuracy_agency > 0)\n", + " & (orgs_with_2_names_df.n_names > 1)\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 82, + "id": "5802ec42-1f84-4394-b51d-aa1d421f60b6", + "metadata": {}, + "outputs": [], + "source": [ + "service_date = operator_df2.service_date.max()" + ] + }, + { + "cell_type": "code", + "execution_count": 83, + "id": "da01f08f-cb0e-4bb0-8cd7-815caeaa183d", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df3 = orgs_with_2_names_df2.loc[\n", + " orgs_with_2_names_df2.service_date == service_date\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": 85, + "id": "2fead64c-43c6-4d2d-8f5e-4fac317dd6a9", + "metadata": {}, + "outputs": [], + "source": [ + "final_names = list(orgs_with_2_names_df3.organization_name.unique())" + ] + }, + { + "cell_type": "code", + "execution_count": 86, + "id": "98a411fb-9fa5-4235-8d9a-c133981e469d", + "metadata": {}, + "outputs": [], + "source": [ + "## Concat back\n", + "orgs_with_2_names_df = orgs_with_2_names_df.loc[~orgs_with_2_names_df.organization_name.isin(final_names)]" + ] + }, + { + "cell_type": "code", + "execution_count": 88, + "id": "08faaf57-13d2-4b5b-83cf-deabef711593", + "metadata": {}, + "outputs": [], + "source": [ + "final = pd.concat([orgs_with_2_names_df, orgs_with_2_names_df3])" + ] + }, + { + "cell_type": "code", + "execution_count": 91, + "id": "ef1fec0a-20c1-4467-8735-9712bd8c4e66", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "<div>\n", + "<style scoped>\n", + " .dataframe tbody tr th:only-of-type {\n", + " vertical-align: middle;\n", + " }\n", + "\n", + " .dataframe tbody tr th {\n", + " vertical-align: top;\n", + " }\n", + "\n", + " .dataframe thead th {\n", + " text-align: right;\n", + " }\n", + "</style>\n", + "<table border=\"1\" class=\"dataframe\">\n", + " <thead>\n", + " <tr style=\"text-align: right;\">\n", + " <th></th>\n", + " <th>name</th>\n", " </tr>\n", " <tr>\n", - " <th>North County Transit District</th>\n", - " <th>North County Schedule</th>\n", - " <td>1</td>\n", + " <th>organization_name</th>\n", + " <th></th>\n", " </tr>\n", + " </thead>\n", + " <tbody>\n", " <tr>\n", - " <th>San Diego Metropolitan Transit System</th>\n", - " <th>San Diego Schedule</th>\n", + " <th>Basin Transit</th>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", - " <th>Yuma County Intergovernmental Public Transportation Authority</th>\n", - " <th>Yuma Schedule</th>\n", + " <th>City of Beaumont</th>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", - " <th rowspan=\"3\" valign=\"top\">12 - Irvine</th>\n", - " <th>City of Laguna Beach</th>\n", - " <th>Laguna Beach Schedule</th>\n", - " <td>1</td>\n", + " <th>Mountain Area Regional Transit Authority</th>\n", + " <td>2</td>\n", " </tr>\n", " <tr>\n", - " <th>Orange County Transportation Authority</th>\n", - " <th>OCTA Schedule</th>\n", + " <th>Palo Verde Valley Transit Agency</th>\n", " <td>1</td>\n", " </tr>\n", " <tr>\n", - " <th>University of California, Irvine</th>\n", - " <th>Anteater Express Schedule</th>\n", + " <th>Victor Valley Transit Authority</th>\n", " <td>1</td>\n", " </tr>\n", " </tbody>\n", @@ -3736,189 +3268,32 @@ "</div>" ], "text/plain": [ - " service_date\n", - "caltrans_district organization_name name \n", - "01 - Eureka City of Eureka Humboldt Schedule 1\n", - " Lake Transit Authority Lake Schedule 1\n", - " Mendocino Transit Authority Mendocino Schedule 1\n", - " Redwood Coast Transit Authority Redwood Coast Schedule 1\n", - " Redwood Coast Schedulel 1\n", - "02 - Redding Lassen Transit Service Agency Lassen Schedule 1\n", - " Modoc Transportation Agency Sage Stage Schedule 1\n", - " Plumas Transit Systems Plumas Schedule 1\n", - " Shasta County Redding Schedule 1\n", - " Siskiyou County Siskiyou Schedule 1\n", - " Tehama County Tehama Schedule 1\n", - " Trinity County Trinity Schedule 1\n", - "03 - Marysville Butte County Association of Governments B-Line Schedule 1\n", - " City of Auburn Auburn Schedule 1\n", - " City of Elk Grove Elk Grove Schedule 1\n", - " City of Rancho Cordova Sacramento Schedule 1\n", - " City of Roseville Roseville Schedule 1\n", - " Roseville Transit GMV Schedule 1\n", - " El Dorado County Transit Authority El Dorado Schedule 1\n", - " Glenn County Glenn Schedule 1\n", - " Nevada County Nevada County Schedule 1\n", - " North Lake Tahoe Express TART, North Lake Tahoe Schedule 1\n", - " Placer County Placer Schedule 1\n", - " Sacramento County South County Transit Link Schedule 1\n", - " Tahoe Transportation District Tahoe Transportation District GMV Schedule 1\n", - " Tahoe Transportation District Schedule 1\n", - " University of California, Davis Unitrans Schedule 1\n", - " Yolo County Transportation District Yolobus Schedule 1\n", - " Yuba-Sutter Transit Authority Yuba-Sutter Schedule 1\n", - "04 - Oakland Alameda-Contra Costa Transit District Bay Area 511 AC Transit Schedule 1\n", - " Capitol Corridor Joint Powers Authority Bay Area 511 Capitol Corridor Schedule 1\n", - " Central Contra Costa Transit Authority Bay Area 511 County Connection Schedule 1\n", - " City and County of San Francisco Bay Area 511 Muni Schedule 1\n", - " City of Fairfield Bay Area 511 Fairfield and Suisun Transit Schedule 1\n", - " City of Menlo Park Bay Area 511 Commute.org Schedule 1\n", - " City of Mountain View Bay Area 511 Mountain View Community Shuttle Schedule 1\n", - " City of Petaluma Bay Area 511 Petaluma Schedule 1\n", - " City of Rio Vista Bay Area 511 Rio Vista Delta Breeze Schedule 1\n", - " City of Santa Rosa Bay Area 511 Santa Rosa CityBus Schedule 1\n", - " City of South San Francisco Bay Area 511 South San Francisco Shuttle Schedule 1\n", - " City of Union City Bay Area 511 Union City Transit Schedule 1\n", - " City of Vacaville Bay Area 511 Vacaville City Coach Schedule 1\n", - " Dumbarton Bridge Regional Operations Consortium Bay Area 511 Dumbarton Express Schedule 1\n", - " Eastern Contra Costa Transit Authority Bay Area 511 Tri Delta Schedule 1\n", - " Emeryville Transportation Management Agency Bay Area 511 Emery Go-Round Schedule 1\n", - " Golden Gate Bridge, Highway and Transportation District Bay Area 511 Golden Gate Transit Schedule 1\n", - " Livermore-Amador Valley Transit Authority Bay Area 511 Tri-Valley Wheels Schedule 1\n", - " Marin County Transit District Bay Area 511 Marin Schedule 1\n", - " Mission Bay Transportation Management Agency Bay Area 511 Mission Bay Schedule 1\n", - " Mission Bay Schedule 1\n", - " Mountain View Transportation Management Association Bay Area 511 MVGO Schedule 1\n", - " Napa Valley Transportation Authority Bay Area 511 Vine Transit Schedule 1\n", - " Presidio Trust Bay Area 511 PresidiGo Schedule 1\n", - " PresidiGo Schedule 1\n", - " San Francisco Bay Area Rapid Transit District Bay Area 511 BART Schedule 1\n", - " San Mateo County Transit District Bay Area 511 SamTrans Schedule 1\n", - " Santa Clara Valley Transportation Authority Bay Area 511 Santa Clara Transit Schedule 1\n", - " Solano County Transit Bay Area 511 SolTrans Schedule 1\n", - " Sonoma County Bay Area 511 Sonoma County Transit Schedule 1\n", - " Stanford University Stanford Schedule 1\n", - " University of California, Berkeley Bear Schedule 1\n", - " Western Contra Costa Transit Authority Bay Area 511 WestCAT Schedule 1\n", - "05 - San Luis Obispo City of Guadalupe Guadalupe Flyer Schedule 1\n", - " City of San Luis Obispo SLO Peak Transit Schedule 1\n", - " SLO Schedule 1\n", - " City of Santa Maria Santa Maria Schedule 1\n", - " City of Solvang Santa Ynez Mecatran Schedule 1\n", - " Monterey-Salinas Transit Monterey Salinas Schedule 1\n", - " San Benito County Local Transportation Authority County Express Schedule 1\n", - " San Luis Obispo Regional Transit Authority SLORTA Schedule 1\n", - " Santa Barbara County Association of Governments Clean Air Express Schedule 1\n", - " Santa Barbara Metropolitan Transit District SBMTD Schedule 1\n", - " Santa Cruz Metropolitan Transit District Santa Cruz Schedule 1\n", - " University of California, Santa Cruz UCSC Schedule 1\n", - "06 - Fresno City of Arvin Arvin Schedule 1\n", - " City of Clovis Clovis Schedule 1\n", - " City of Delano Delano Schedule 1\n", - " City of Fresno Fresno Schedule 1\n", - " City of Madera Madera Metro Schedule 1\n", - " City of Visalia Visalia Schedule 1\n", - " Fresno County Rural Transit Agency Fresno County Schedule 1\n", - " Golden Empire Transit District GET Schedule 1\n", - " Kern County Kern Schedule 1\n", - " Kings County Area Public Transit Agency Kings Schedule 1\n", - " Madera County Madera County Connection Schedule 1\n", - " Tulare County Regional Transit Agency TIME GMV Schedule 1\n", - "07 - Los Angeles Antelope Valley Transit Authority Antelope Valley Transit Authority Schedule 1\n", - " City of Alhambra Alhambra Schedule 1\n", - " City of Arcadia Arcadia Schedule 1\n", - " City of Avalon Avalon Schedule 1\n", - " City of Baldwin Park Baldwin Park Schedule 1\n", - " City of Bell La Campana Schedule 1\n", - " City of Bell Gardens Bell Gardens Schedule 1\n", - " City of Bellflower Bellflower Bus Schedule 1\n", - " City of Burbank Burbank Schedule 1\n", - " City of Calabasas Calabasas Schedule 1\n", - " City of Cerritos Cerritos on Wheels Website Schedule 1\n", - " City of Commerce Commerce Schedule 1\n", - " City of Cudahy Cudahy Schedule 1\n", - " City of Culver City Culver City Schedule 1\n", - " City of Downey DowneyLINK GMV Schedule 1\n", - " DowneyLINK Schedule 1\n", - " City of Duarte Foothill Schedule 1\n", - " City of El Monte El Monte Schedule 1\n", - " City of El Segundo El Segundo Schedule 1\n", - " City of Gardena G Trans Schedule 1\n", - " City of Glendale Glendale Schedule 1\n", - " City of Glendora Glendora Schedule 1\n", - " City of Huntington Park Huntington Schedule 1\n", - " City of Inglewood Inglewood Schedule 1\n", - " City of La Puente La Puente Schedule 1\n", - " City of Lawndale Lawndale Beat GMV Schedule 1\n", - " Lawndale Schedule 1\n", - " City of Los Angeles LA DOT Schedule 1\n", - " City of Lynwood Lynwood Schedule 1\n", - " City of Maywood Maywood Schedule 1\n", - " City of Monterey Park Spirit Bus Schedule 1\n", - " City of Norwalk Norwalk Avail Schedule 1\n", - " City of Ojai VCTC GMV Schedule 1\n", - " City of Pasadena Pasadena Schedule 1\n", - " City of Redondo Beach Beach Cities GMV Schedule 1\n", - " City of Rosemead Rosemead Schedule 1\n", - " City of Santa Clarita Santa Clarita Schedule 1\n", - " City of Santa Monica Big Blue Bus Schedule 1\n", - " City of South Gate Get Around Town Express Schedule 1\n", - " City of Torrance Torrance Schedule 1\n", - " City of West Covina Go West Schedule 1\n", - " City of West Hollywood WeHo Schedule 1\n", - " Greyhound Flixbus Schedule 1\n", - " Long Beach Transit Long Beach Schedule 1\n", - " Los Angeles County LADPW Schedule 1\n", - " Los Angeles County Metropolitan Transportation Authority LA Metro Bus Schedule 1\n", - " LA Metro Rail Schedule 1\n", - " Los Angeles World Airports LAX FlyAway Schedule 1\n", - " Palos Verdes Peninsula Transit Authority Palos Verdes PTA Schedule 1\n", - " University of California, Los Angeles BruinBus Schedule 1\n", - "08 - San Bernardino Basin Transit Basin Transit GMV Schedule 1\n", - " Morongo Basin Schedule 1\n", - " City of Banning Banning Pass Schedule 1\n", - " City of Beaumont Beaumont Pass Schedule 1\n", - " Beaumont Transit Schedule 1\n", - " City of Corona Corona Schedule 1\n", - " City of Needles Needles Schedule 1\n", - " Mountain Area Regional Transit Authority Mountain Transit GMV Schedule 1\n", - " Mountain Transit Schedule 1\n", - " OmniTrans OmniTrans Schedule 1\n", - " Palo Verde Valley Transit Agency Desert Roadrunner GMV Schedule 1\n", - " Desert Roadrunner Schedule 1\n", - " Riverside Transit Agency Riverside Schedule 1\n", - " Victor Valley Transit Authority Victor Valley GMV Schedule 1\n", - " Victor Valley Schedule 1\n", - "09 - Bishop Eastern Sierra Transit Authority Eastern Sierra Schedule 1\n", - "10 - Stockton Amador Regional Transit System Amador Schedule 1\n", - " Calaveras Transit Agency Calaveras Schedule 1\n", - " City of Escalon eTrans Schedule 1\n", - " City of Lodi Grapeline Schedule 1\n", - " City of Manteca Manteca Schedule 1\n", - " City of Ripon Blossom Express Schedule 1\n", - " City of Tracy Tracy Schedule 1\n", - " City of Turlock Turlock Schedule 1\n", - " San Joaquin Regional Transit District San Joaquin Schedule 1\n", - " Stanislaus Regional Transit Authority StanRTA Schedule 1\n", - " Transit Joint Powers Authority for Merced County Merced GMV Schedule 1\n", - " Merced Schedule 1\n", - " Yosemite Area Regional Transportation System YARTS Schedule 1\n", - "11 - San Diego Imperial County Transportation Commission Imperial Valley Transit Schedule 1\n", - " North County Transit District North County Schedule 1\n", - " San Diego Metropolitan Transit System San Diego Schedule 1\n", - " Yuma County Intergovernmental Public Transportation Authority Yuma Schedule 1\n", - "12 - Irvine City of Laguna Beach Laguna Beach Schedule 1\n", - " Orange County Transportation Authority OCTA Schedule 1\n", - " University of California, Irvine Anteater Express Schedule 1" + " name\n", + "organization_name \n", + "Basin Transit 1\n", + "City of Beaumont 1\n", + "Mountain Area Regional Transit Authority 2\n", + "Palo Verde Valley Transit Agency 1\n", + "Victor Valley Transit Authority 1" ] }, - "execution_count": 26, + "execution_count": 91, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "operator_df.groupby([\"caltrans_district\",\"organization_name\",\"name\"]).agg({\"service_date\":\"nunique\"})" + "final.groupby(['organization_name']).agg({\"name\":\"nunique\"})" + ] + }, + { + "cell_type": "code", + "execution_count": 92, + "id": "7fdca3a5-0e96-4087-8a24-77566855c449", + "metadata": {}, + "outputs": [], + "source": [ + "operator_df2 = pd.concat([operator_df2, final])" ] } ], diff --git a/gtfs_digest/district_report.ipynb b/gtfs_digest/district_report.ipynb index cc85b972a..b8d87b291 100644 --- a/gtfs_digest/district_report.ipynb +++ b/gtfs_digest/district_report.ipynb @@ -90,6 +90,163 @@ ").reset_index(drop=True)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "e733cb10-3185-4468-9ebe-1c2cb854cd21", + "metadata": {}, + "outputs": [], + "source": [ + "# De duplicate\n", + "# First find any organizations_names with more than 2 names per \n", + "orgs_agg = (\n", + " operator_df.groupby([\"caltrans_district\", \"organization_name\"])\n", + " .agg({\"name\": \"nunique\"})\n", + " .reset_index()\n", + ")\n", + "orgs_agg2 = orgs_agg.loc[orgs_agg.name > 1]\n", + "orgs_with_2_names = list(orgs_agg2.organization_name.unique())" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "f2197f14-0623-46b4-bdda-a6da1581a9d2", + "metadata": {}, + "outputs": [], + "source": [ + "# Delete out these organizations from the original df so we can manipulate them.\n", + "operator_df2 = operator_df.loc[\n", + " ~operator_df.organization_name.isin(orgs_with_2_names)\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "e7ee27ca-fafc-41a5-b15c-eead1c11785f", + "metadata": {}, + "outputs": [], + "source": [ + "# Filter for these organizations with more than 2 names in their own df.\n", + "orgs_with_2_names_df = operator_df.loc[\n", + " operator_df.organization_name.isin(orgs_with_2_names)\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "ad8f31e7-f7b0-4f8e-9ee8-6479ea1af654", + "metadata": {}, + "outputs": [], + "source": [ + "three_month_reference = operator_df2[\"service_date\"].max() - pd.DateOffset(\n", + " months=3\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "9d2e2807-801a-48f5-9933-3adaad4ebfef", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df = orgs_with_2_names_df[\n", + " orgs_with_2_names_df[\"service_date\"] >= three_month_reference\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c93e5f3d-1b87-495d-a63e-2454d7089754", + "metadata": {}, + "outputs": [], + "source": [ + "# Filter out any rows in which `vp_per_min_agency` and `spatial_accuracy_agency` is equal than 0\n", + "# and still has 2+ names\n", + "orgs_agg = (\n", + " orgs_with_2_names_df.groupby([\"organization_name\"])\n", + " .agg({\"name\": \"nunique\"})\n", + " .reset_index()\n", + " .rename(columns={\"name\": \"n_names\"})\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "a81b77e8-90dd-4626-9077-45cb87ea2d0f", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df = pd.merge(\n", + " orgs_with_2_names_df, orgs_agg, on=\"organization_name\", how=\"left\"\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4f0eccf0-3731-4f93-9d7d-c4cc54617bbb", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df2 = orgs_with_2_names_df[\n", + " (orgs_with_2_names_df.vp_per_min_agency > 0)\n", + " & (orgs_with_2_names_df.spatial_accuracy_agency > 0)\n", + " & (orgs_with_2_names_df.n_names > 1)\n", + "].reset_index(drop=True)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "15712b8e-f547-4668-8f77-c9912207ef7b", + "metadata": {}, + "outputs": [], + "source": [ + "# Keep rows that meet service_date\n", + "service_date = operator_df2.service_date.max()\n", + "orgs_with_2_names_df3 = orgs_with_2_names_df2.loc[\n", + " orgs_with_2_names_df2.service_date == service_date\n", + "]\n", + "final_names = list(orgs_with_2_names_df3.organization_name.unique())" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "67b1e0cd-7ecf-43ca-80eb-b9139f7f49f8", + "metadata": {}, + "outputs": [], + "source": [ + "## Concat back\n", + "orgs_with_2_names_df = orgs_with_2_names_df.loc[~orgs_with_2_names_df.organization_name.isin(final_names)]" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d591e85f-18f4-4613-8330-c1c6978c0507", + "metadata": {}, + "outputs": [], + "source": [ + "orgs_with_2_names_df_final = pd.concat([orgs_with_2_names_df, orgs_with_2_names_df3])" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "fcf1647b-892e-4323-8b69-e7bed38951b7", + "metadata": {}, + "outputs": [], + "source": [ + "operator_df2 = pd.concat([operator_df2, orgs_with_2_names_df_final])" + ] + }, { "cell_type": "markdown", "id": "41f0a970-4646-4147-a596-d41d15517127", @@ -110,7 +267,7 @@ "outputs": [], "source": [ "district_summary = _report_utils.district_stats(\n", - " operator_df, \n", + " operator_df2, \n", " \"caltrans_district\"\n", ")" ] @@ -174,7 +331,7 @@ "metadata": {}, "outputs": [], "source": [ - "operators_in_district = operator_df.schedule_gtfs_dataset_key.unique()" + "operators_in_district = operator_df2.name.unique()" ] }, { @@ -186,7 +343,7 @@ "source": [ "operator_route_gdf = gpd.read_parquet(\n", " f\"{RT_SCHED_GCS}{OPERATOR_ROUTE}.parquet\",\n", - " filters = [[\"schedule_gtfs_dataset_key\", \"in\", operators_in_district]],\n", + " filters = [[\"name\", \"in\", operators_in_district]],\n", " columns = [\"name\", \"service_date\", \n", " \"route_combined_name\", \"geometry\"]\n", ").sort_values(\n", @@ -245,9 +402,9 @@ "metadata": {}, "outputs": [], "source": [ - "gtfs_table_df = operator_df[\n", + "gtfs_table_df = operator_df2[\n", " shared_cols + gtfs_service_cols\n", - "].pipe(_report_utils.replace_column_names)" + "].pipe(_report_utils.replace_column_names).reset_index(drop = True)" ] }, { diff --git a/portfolio/district_digest/district_01-eureka/00__district_report__district_01-eureka.ipynb b/portfolio/district_digest/district_01-eureka/00__district_report__district_01-eureka.ipynb index eb8c0923a..72ea36b38 100644 --- a/portfolio/district_digest/district_01-eureka/00__district_report__district_01-eureka.ipynb +++ b/portfolio/district_digest/district_01-eureka/00__district_report__district_01-eureka.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3a19de1265d7652de69f576b2d45310c12c2f0280c5f55226e295d5dfd2336ba -size 3058190 +oid sha256:e4f38125d1c7504a6818aeee49cf8dd139a4663f92a31d0df3f4eaa4ccd46ca5 +size 3383271 diff --git a/portfolio/district_digest/district_02-redding/00__district_report__district_02-redding.ipynb b/portfolio/district_digest/district_02-redding/00__district_report__district_02-redding.ipynb index 70a5d92ee..a27f76700 100644 --- a/portfolio/district_digest/district_02-redding/00__district_report__district_02-redding.ipynb +++ b/portfolio/district_digest/district_02-redding/00__district_report__district_02-redding.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d399c010dc9f2f6b29c746be584a7da20b7f70a8b1f0e61960052a180c5f2cb6 -size 2196438 +oid sha256:638796323ef91cdd95636cf3d24ce98360ed79fb2bdef488f856f7a176328110 +size 2409190 diff --git a/portfolio/district_digest/district_03-marysville/00__district_report__district_03-marysville.ipynb b/portfolio/district_digest/district_03-marysville/00__district_report__district_03-marysville.ipynb index 42888c07f..74afa9b7a 100644 --- a/portfolio/district_digest/district_03-marysville/00__district_report__district_03-marysville.ipynb +++ b/portfolio/district_digest/district_03-marysville/00__district_report__district_03-marysville.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:44d620ba83798948fe9e4d24712e567d8ae21671228f232469938d47a084c7d6 -size 8931952 +oid sha256:f27951dcff9fb314b2e9bd1fb7d7e9d61014157726c77c25280fcd0d5b286362 +size 9758272 diff --git a/portfolio/district_digest/district_04-oakland/00__district_report__district_04-oakland.ipynb b/portfolio/district_digest/district_04-oakland/00__district_report__district_04-oakland.ipynb index ca33431e5..c800303d1 100644 --- a/portfolio/district_digest/district_04-oakland/00__district_report__district_04-oakland.ipynb +++ b/portfolio/district_digest/district_04-oakland/00__district_report__district_04-oakland.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b868617455076f7599c2a268ede9aa2843ffe42da25ad1ac5e908e2268319daa -size 22984087 +oid sha256:ea337e8935bb4e79ca0ea18183bc35da5b1a2bad6b1ddc0664e9b9a9865b9d73 +size 24848333 diff --git a/portfolio/district_digest/district_05-san-luis-obispo/00__district_report__district_05-san-luis-obispo.ipynb b/portfolio/district_digest/district_05-san-luis-obispo/00__district_report__district_05-san-luis-obispo.ipynb index 224ff6cf8..f4bbb38e2 100644 --- a/portfolio/district_digest/district_05-san-luis-obispo/00__district_report__district_05-san-luis-obispo.ipynb +++ b/portfolio/district_digest/district_05-san-luis-obispo/00__district_report__district_05-san-luis-obispo.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0920550efff33a500f500f0275e29c1e0bc9cd594d161efa7d648c0689fefdd5 -size 7094247 +oid sha256:ef75f27b701b43af1b9e4dd762f3b6fcc29683401e1965db94e664e624de297d +size 7935833 diff --git a/portfolio/district_digest/district_06-fresno/00__district_report__district_06-fresno.ipynb b/portfolio/district_digest/district_06-fresno/00__district_report__district_06-fresno.ipynb index 39b6c766d..2618e6adc 100644 --- a/portfolio/district_digest/district_06-fresno/00__district_report__district_06-fresno.ipynb +++ b/portfolio/district_digest/district_06-fresno/00__district_report__district_06-fresno.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:759efcafdf9da6fca5f2440b8a6d154f791274e3aeb41c51e29500bd583c3371 -size 2435043 +oid sha256:fd49ba753c562a4c3794170526a166812aa7a57175f5c9d6b19f287e2da1f3ee +size 2446362 diff --git a/portfolio/district_digest/district_07-los-angeles/00__district_report__district_07-los-angeles.ipynb b/portfolio/district_digest/district_07-los-angeles/00__district_report__district_07-los-angeles.ipynb index a0922730c..6989f791f 100644 --- a/portfolio/district_digest/district_07-los-angeles/00__district_report__district_07-los-angeles.ipynb +++ b/portfolio/district_digest/district_07-los-angeles/00__district_report__district_07-los-angeles.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dd83129f0cb993409bb388a1b67bbda7894448ef34d4860352cdba5af13750ea -size 20131435 +oid sha256:2ba3f589959eed7fcc501235e1786f960777a3e698e0db1263334be03695037e +size 20510931 diff --git a/portfolio/district_digest/district_08-san-bernardino/00__district_report__district_08-san-bernardino.ipynb b/portfolio/district_digest/district_08-san-bernardino/00__district_report__district_08-san-bernardino.ipynb index 0bb651e74..34c96eaac 100644 --- a/portfolio/district_digest/district_08-san-bernardino/00__district_report__district_08-san-bernardino.ipynb +++ b/portfolio/district_digest/district_08-san-bernardino/00__district_report__district_08-san-bernardino.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:14a004a579661a93750b26f5527ad8d564e5bb0f17fed8ae212942b1dd226361 -size 11568013 +oid sha256:597dd9b251e82ad9b803a0501b70adbce344825cccd45e97c90fd82eb384ba0f +size 9123984 diff --git a/portfolio/district_digest/district_09-bishop/00__district_report__district_09-bishop.ipynb b/portfolio/district_digest/district_09-bishop/00__district_report__district_09-bishop.ipynb index 0c0b8fa78..eb6c34592 100644 --- a/portfolio/district_digest/district_09-bishop/00__district_report__district_09-bishop.ipynb +++ b/portfolio/district_digest/district_09-bishop/00__district_report__district_09-bishop.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:951aa2eab906f4f8df582e9dededd2ed35c6e0676d19562e4cb8ac62bc982ffd -size 524230 +oid sha256:f47c23275dcb36370f90a2a6b55b3139712f5b75236b6801a032e7d5ca240870 +size 535551 diff --git a/portfolio/district_digest/district_10-stockton/00__district_report__district_10-stockton.ipynb b/portfolio/district_digest/district_10-stockton/00__district_report__district_10-stockton.ipynb index 90a205fe4..c45ac8986 100644 --- a/portfolio/district_digest/district_10-stockton/00__district_report__district_10-stockton.ipynb +++ b/portfolio/district_digest/district_10-stockton/00__district_report__district_10-stockton.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:71eaae7d233dde59dc8aa72b2a7e81f77e9e4710897c75f2daa435a6e6d1ca8f -size 4908640 +oid sha256:ce21c1235e8d1241da5399a769113713133f76d713fb09b48b6c547d9d9e0104 +size 5015975 diff --git a/portfolio/district_digest/district_11-san-diego/00__district_report__district_11-san-diego.ipynb b/portfolio/district_digest/district_11-san-diego/00__district_report__district_11-san-diego.ipynb index d389c2b49..822391129 100644 --- a/portfolio/district_digest/district_11-san-diego/00__district_report__district_11-san-diego.ipynb +++ b/portfolio/district_digest/district_11-san-diego/00__district_report__district_11-san-diego.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9b78e58cccb3746f854ede03cfd00ebc247e5ffce0987ee3e22709a5ae8f2143 -size 2233146 +oid sha256:f6eb0c825adac31b49c365b9147c483815ad86521e0c0b0b436907a7c2bfa527 +size 2333298 diff --git a/portfolio/district_digest/district_12-irvine/00__district_report__district_12-irvine.ipynb b/portfolio/district_digest/district_12-irvine/00__district_report__district_12-irvine.ipynb index baa4436db..eff0e278a 100644 --- a/portfolio/district_digest/district_12-irvine/00__district_report__district_12-irvine.ipynb +++ b/portfolio/district_digest/district_12-irvine/00__district_report__district_12-irvine.ipynb @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b9b07af82db69103c9845ac737b9b8650e3227bdfac98944ebc85851071a6908 -size 2023787 +oid sha256:7bcb5f82a29b4f109f8e0edcdef522bad9683d2a47c56e4076f0b978093ebeeb +size 2336443