Skip to content

Commit b483039

Browse files
committed
fix source columns
1 parent 4f6c1ff commit b483039

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

products/cbbr/sql/cbbr_submissions.sql

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ SELECT
1414
dcp.policy_area,
1515
dcp.need_group,
1616
dcp.need,
17-
dcp.budget_request_title AS title,
17+
dcp."budget_request_title_please_give_your_budget_request_a_short_an" AS title,
1818
dcp.request,
1919
-- TODO - should probably just use dcp.explanation but clean special charactesr
2020
REPLACE(omb.reason, E'\n', ' ') AS explanation,
21-
dcp.location_specific,
22-
dcp.address,
23-
dcp.site_or_facility_name,
24-
dcp.on_street,
25-
dcp.cross_street_1,
26-
dcp.cross_street_2,
27-
dcp.intersection_street_1,
28-
dcp.intersection_street_2,
21+
dcp."is_this_request_specific_to_a_particular_site,_location,_or_fac" AS location_specific,
22+
dcp."address:request_location_(complete_all_that_apply)_for_addresse" AS address,
23+
dcp."site_or_facility_name:request_location_(complete_all_that_apply" AS site_or_facility_name,
24+
dcp."on_street_(enter_street_name):complete_the_following_if_your_re" AS on_street,
25+
dcp."cross_street_1_(for_street_segment):request_location_(complete_" AS cross_street_1,
26+
dcp."cross_street_2_(for_street_segment):request_location_(complete_" AS cross_street_2,
27+
dcp."intersection___street_1:complete_the_following_if_your_request_" AS intersection_street_1,
28+
dcp."intersection___street_2:complete_the_following_if_your_request_" AS intersection_street_2,
2929
omb.lowsgrp1 AS supporters_1,
3030
omb.lowsgrp2 AS supporters_2,
3131
omb.capis1 AS project_id_1, -- all null

products/cbbr/sql/export.sql

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ SELECT
2121
cb_label,
2222
type_br,
2323
type,
24-
policy_area,
25-
need_group,
26-
need,
27-
title,
24+
-- policy_area,
25+
-- need_group,
26+
-- need,
27+
-- title,
2828
request,
2929
explanation,
3030
location_specific,
@@ -103,10 +103,10 @@ SELECT
103103
type_br,
104104
-- type,
105105
priority,
106-
policy_area,
107-
need_group,
108-
need,
109-
title,
106+
-- policy_area,
107+
-- need_group,
108+
-- need,
109+
-- title,
110110
request,
111111
explanation,
112112
location_specific,

0 commit comments

Comments
 (0)