-
Notifications
You must be signed in to change notification settings - Fork 1
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
use total population in CDBG #1359
Conversation
23ea7b4
to
fc4429c
Compare
`dcp_censusdata_blocks` source data must be joined to `dcp_cb2020_wi`
fc4429c
to
8ceaf55
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.
I think this all seems fine for the incremental change needed. I do think we should sit down with some quick white boarding to simplify the repo
Dbt tests currently failing though |
a column in gonna try different single/double quote combos (locally first) edit: might have to ignore it for now, couldn't fix it with quotes |
a column name with a period in it seems unfixable with single/double quotes
Yeah that seems like a sqlfluff bug |
related to #1348
according to HUD's data dictionary, the column
LOWMOD_PCT
isn't what we expect because the denominatorLOWMODUNIV
is "Persons with the potential for being deemed Low-, Moderate- and Middle-income" rather than the total populationso we have to get total population from a different dataset
changes
dcp_censusdata_blocks
to get the total population of each census block