Skip to content

Commit aca6e6a

Browse files
charlie-costanzoerikamov
authored andcommitted
point dim_annual_agency_information at new production table
1 parent e48fd8f commit aca6e6a

File tree

1 file changed

+3
-56
lines changed

1 file changed

+3
-56
lines changed
Lines changed: 3 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,8 @@
11
{{ config(materialized='view') }}
22

3-
WITH intermediate_unioned_agency_information AS (
4-
SELECT *
5-
FROM {{ ref('int_ntd__unioned_agency_information') }}
6-
),
7-
8-
dim_annual_agency_information AS (
9-
SELECT
10-
key,
11-
year,
12-
ntd_id,
13-
state_parent_ntd_id,
14-
agency_name,
15-
reporter_acronym,
16-
doing_business_as,
17-
division_department,
18-
legacy_ntd_id,
19-
reported_by_ntd_id,
20-
reported_by_name,
21-
reporter_type,
22-
reporting_module,
23-
organization_type,
24-
subrecipient_type,
25-
fy_end_date,
26-
original_due_date,
27-
address_line_1,
28-
address_line_2,
29-
p_o__box,
30-
city,
31-
state,
32-
zip_code,
33-
zip_code_ext,
34-
region,
35-
url,
36-
fta_recipient_id,
37-
ueid,
38-
service_area_sq_miles,
39-
service_area_pop,
40-
primary_uza_code,
41-
primary_uza_name,
42-
tribal_area_name,
43-
population,
44-
density,
45-
sq_miles,
46-
voms_do,
47-
voms_pt,
48-
total_voms,
49-
volunteer_drivers,
50-
personal_vehicles,
51-
tam_tier,
52-
number_of_state_counties,
53-
number_of_counties_with_service,
54-
state_admin_funds_expended,
55-
_valid_from,
56-
_valid_to,
57-
_is_current,
58-
FROM intermediate_unioned_agency_information
3+
-- This table is deprecated, and temporarily pulling from the new production table fct_monthly_ridership_with_adjustments
4+
WITH dim_annual_agency_information AS (
5+
SELECT * FROM {{ ref("dim_agency_information") }}
596
)
607

618
SELECT * FROM dim_annual_agency_information

0 commit comments

Comments
 (0)