Data updates#50
Open
alenastern wants to merge 11 commits into
Open
Conversation
ridhi96
requested changes
Jan 29, 2026
Collaborator
ridhi96
left a comment
There was a problem hiding this comment.
Hi @alenastern, the code is in great shape!
I want to flag that in 02_crosswalk_to_2020.qmd and 03_data-prep.qmd, whenever an Excel file is being downloaded from Box, I always get a corrupt file. It doesn't open in the Excel app nor does it open programmatically. I'm not sure if this is a machine specific issue for me, but I'd verify this on your end.
| ```{r} | ||
| if (!file.exists(here::here("data/hmda/censustract_apprate.xlsx"))){ | ||
| download.file( | ||
| url = "https://urbanorg.box.com/shared/static/yltdz8gpknsulixuidus2yn6tat8qn0d.xlsx", |
Collaborator
There was a problem hiding this comment.
I think this URL points to the county file
|
|
||
| if (!file.exists(here::here("data/hmda/censustract_denialrate.xlsx"))){ | ||
| download.file( | ||
| url = "https://urbanorg.box.com/shared/static/flkdwuwwjwdb7gb31laxg2t2eu5q6d4q.xlsx", |
Collaborator
There was a problem hiding this comment.
I think this URL points to the county file
| most_common_lang_lep = "Top Languages Spoken by LEP Households: No data available", | ||
| most_common_natl_origin = "Most Common National Origins: No data available" | ||
| )) |> | ||
| select(everything(), -starts_with("LEP_"), -starts_with("POB_")) |
Collaborator
There was a problem hiding this comment.
There's a missing pipe operator here
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #48 #47 #46 #44 #38 #36 #28 #25