-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NTD time series data: create warehouse tables #3665
Conversation
Warehouse report 📦 Checks/potential follow-upsChecks indicate the following action items may be necessary.
New models 🌱calitp_warehouse.mart.ntd_funding_and_expenses.fct_capital_expenditures_time_series_facilities calitp_warehouse.mart.ntd_funding_and_expenses.fct_capital_expenditures_time_series_other calitp_warehouse.mart.ntd_funding_and_expenses.fct_capital_expenditures_time_series_rolling_stock calitp_warehouse.mart.ntd_funding_and_expenses.fct_capital_expenditures_time_series_total calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_capital_federal calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_capital_local calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_capital_other calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_capital_state calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_capital_total calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_decommissioned_operatingfares calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_decommissioned_operatingother calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_operating_federal calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_operating_local calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_operating_other calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_operating_state calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_operating_total calitp_warehouse.mart.ntd_funding_and_expenses.fct_operating_and_capital_funding_time_series_summary_total calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_drm calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_fares calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_opexp_ga calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_opexp_nvm calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_opexp_total calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_opexp_vm calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_opexp_vo calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_pmt calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_upt calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_voms calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_vrh calitp_warehouse.mart.ntd_funding_and_expenses.fct_service_data_and_operating_expenses_time_series_by_mode_vrm calitp_warehouse.mart.gtfs.fct_vehicle_locations_grouped calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__capital_expenditures_time_series_facilities calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__capital_expenditures_time_series_other calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__capital_expenditures_time_series_rolling_stock calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__capital_expenditures_time_series_total calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_capital_federal calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_capital_local calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_capital_other calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_capital_state calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_capital_total calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_operating_federal calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_operating_local calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_operating_other calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_operating_state calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__operating_and_capital_funding_time_series_operating_total calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_drm calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_fares calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_opexp_ga calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_opexp_nvm calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_opexp_total calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_opexp_vm calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_opexp_vo calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_pmt calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_upt calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_voms calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_vrh calitp_warehouse.intermediate.ntd_funding_and_expenses.int_ntd__service_data_and_operating_expenses_time_series_by_mode_vrm calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__capital_expenditures_time_series__facilities calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__capital_expenditures_time_series__other calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__capital_expenditures_time_series__rolling_stock calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__capital_expenditures_time_series__total calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__capital_federal calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__capital_local calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__capital_other calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__capital_state calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__capital_total calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__decommissioned_operatingfares calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__decommissioned_operatingother calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__operating_federal calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__operating_local calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__operating_other calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__operating_state calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__operating_total calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__operating_and_capital_funding_time_series__summary_total calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__drm calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__fares calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__opexp_ga calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__opexp_nvm calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__opexp_total calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__opexp_vm calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__opexp_vo calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__pmt calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__upt calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__voms calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__vrh calitp_warehouse.staging.ntd_funding_and_expenses.stg_ntd__service_data_and_operating_expenses_time_series_by_mode__vrm DAGLegend (in order of precedence)
|
2e5ff06
to
10c94a6
Compare
...use/models/mart/ntd_funding_and_expenses/fct_capital_expenditures_time_series_facilities.sql
Outdated
Show resolved
Hide resolved
warehouse/models/mart/ntd_funding_and_expenses/_mart_ntd_funding_and_expenses.yml
Outdated
Show resolved
Hide resolved
...use/models/mart/ntd_funding_and_expenses/fct_capital_expenditures_time_series_facilities.sql
Outdated
Show resolved
Hide resolved
…nses staging tables
30e0270
to
be647fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
There is mentioned in a resolved conversation - I'm okay with merging this in as is, but I don't like how we have all these columns listed out even at the cal-itp-data-infra.external_ntd__funding_and_expenses.historical__capital_expenditures_time_series__facilities stage - but realistically if we start using these tables more often, we can work on making it sustainable year after year at a later date. For now we can hard code it in. |
Description
Following up on #3655, this PR creates new warehouse tables and associated yml files for the new NTD time series endpoints that we are ingesting:
Type of change
How has this been tested?
Post-merge follow-ups