-
Notifications
You must be signed in to change notification settings - Fork 2
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 2023 tax bills #41
Add 2023 tax bills #41
Conversation
Oops. Here's the 2023 tax bills to add to your branch. |
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.
@erhla Can you fix the linting errors on sample_tax_bills_detail.R
?
@erhla There's also the |
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.
sum_path <- "data-raw/sample_tax_bills/sample_tax_bills_summary.csv" | ||
|
||
|
||
# add pins/year/class after updating detail | ||
key_cols <- readr::read_csv( | ||
"data-raw/sample_tax_bills/sample_tax_bills_detail.csv" | ||
) %>% | ||
distinct(year, pin, class) %>% | ||
mutate(class = as.character(class)) %>% | ||
filter(year == max(year)) | ||
|
||
readr::read_csv( | ||
sum_path, | ||
col_types = cols(pin = "c", tax_code = "c", class = "c") | ||
) %>% | ||
bind_rows(key_cols) %>% | ||
write_csv(sum_path) |
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.
issue (blocking): I get the intent but let's not add this programmatically. It's fine if you wanna use it to help jumpstart the manual work on each bill though.
Also, somehow it's mangling the CSV, see below.
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.
issue (blocking): Looks like some of the 0000 PINs get mangled and converted to scientific notation here. No bueno.
This reverts commit d0e31ea.
Capture manual reviewed fields from tax bills via terminal entry
* Add updated agency workbooks and code * Add new CPI PDF * Add 2023 equalizers * Bump DB version in DESCRIPTION and DB * Add 2023 tax bills (#41) * add 2023 tax bills * lint * styler? * attempt 2 to style * add rpm tif * update data * Revert "update data" This reverts commit d0e31ea. * fixing tax bill summary / adding input procedure Capture manual reviewed fields from tax bills via terminal entry * Drop extraneous readline code * Swap tabulapdf for deprecated tabulizer dependency * Update TIF agency names output * Add 2023 TIF report data * Fix pct formatting for pct_burden, reduction_pct * Fix TIF records with missing agency number * Update README figures and links * Update sample summary with additional bill * Update test thresholds * Bump package version * Cleanup pkgdown manifest --------- Co-authored-by: Eric Langowski <[email protected]>
No description provided.