Skip to content

Commit 53b2663

Browse files
authored
Merge pull request #3524 from cal-itp/3497-deprecate-ntd-tables
Remove annual_database_service models and manual scrape process
2 parents 9c67d74 + abdedec commit 53b2663

File tree

5 files changed

+0
-76
lines changed

5 files changed

+0
-76
lines changed

airflow/dags/create_external_tables/ntd_data_products/annual_database_service.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

script/scrape_ntd.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
https://www.transit.dot.gov/ntd/data-product/2021-annual-database-agency-information
1414
Contains basic contact and agency information for each NTD reporter.
1515
16-
https://www.transit.dot.gov/ntd/data-product/2022-annual-database-service
17-
Contains operating statistics reported by mode and type of service. Categorized by vehicles operated and vehicles available in maximum service by day and time period.
18-
1916
https://www.transit.dot.gov/ntd/data-product/monthly-module-adjusted-data-release
2017
Monthly ridership
2118
@@ -28,7 +25,6 @@
2825
then
2926
poetry run python scrape_ntd.py annual-database-agency-information 2021 https://www.transit.dot.gov/sites/fta.dot.gov/files/2022-10/2021%20Agency%20Information.xlsx
3027
poetry run python scrape_ntd.py monthly-ridership-with-adjustments 2024 https://www.transit.dot.gov/sites/fta.dot.gov/files/2024-04/February%202024%20Complete%20Monthly%20Ridership%20%28with%20adjustments%20and%20estimates%29_240402_0.xlsx
31-
poetry run python scrape_ntd.py annual-database-service 2022 https://www.transit.dot.gov/sites/fta.dot.gov/files/2024-04/2022%20Service.xlsx
3228
"""
3329

3430
import gzip

warehouse/models/staging/ntd/_src.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ sources:
77
schema: external_ntd_data_products
88
tables:
99
- name: annual_database_agency_information
10-
- name: annual_database_service
1110
- name: monthly_ridership_with_adjustments_upt
1211
- name: monthly_ridership_with_adjustments_vrm
1312
- name: monthly_ridership_with_adjustments_vrh

warehouse/models/staging/ntd/_stg_ntd.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ models:
1212
- name: ntd_id
1313
tests:
1414
- not_null
15-
- name: stg_ntd__annual_database_service
1615
- name: stg_ntd__monthly_ridership_with_adjustments_upt
1716
- name: stg_ntd__monthly_ridership_with_adjustments_vrm
1817
- name: stg_ntd__monthly_ridership_with_adjustments_vrh

warehouse/models/staging/ntd/stg_ntd__annual_database_service.sql

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)