-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add appeal reason code seed and include it in default.vw_pin_appeal
#619
Add appeal reason code seed and include it in default.vw_pin_appeal
#619
Conversation
dbt build is currently failing because there are bad values for |
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.
This is super helpful, thanks!
dbt/seeds/ccao/docs.md
Outdated
Table containing descriptions for appeal decision reason codes from | ||
`iasworld.htpar`. |
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.
[Question, non-blocking] Where did these descriptions come from? Maybe we can name that source as part of this description, in case it changes in the future and we need to update the seed?
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.
Good call. They've been living as an attachment on the open data portal forever now, my guess is we got them from Mirella/Will. I'll look through my email and add a note.
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 can't speak to the source of the tabular version, just commenting to note that they are public as a pdf doc on the CCAO website.
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 like the idea of linking to the PDF doc!
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.
Sure thing. There are definitely some codes in iasWorld that aren't in the PDF, but I'll include it as a resource regardless.
@jeancochrane Would it make any sense to move Edit: I should probably just make the re-coding syntax more explicit. |
@wrridgeway I agree that we need to rethink this test, but I'm not totally sure what the best path forward is. Check out the distribution of results for this query: with user104s as (
select TRIM(LOWER(user104)) as user104
from iasworld.htpar
where cur = 'Y' and deactivat is null
)
select user104, count(*) from user104s group by user104 It seems like the underlying data in If the distribution in |
@jeancochrane I think we can clean up the code that constructs |
No description provided.