Skip to content

Data updates#50

Open
alenastern wants to merge 11 commits into
mainfrom
data_updates
Open

Data updates#50
alenastern wants to merge 11 commits into
mainfrom
data_updates

Conversation

@alenastern
Copy link
Copy Markdown
Contributor

Closes #48 #47 #46 #44 #38 #36 #28 #25

@alenastern alenastern requested a review from ridhi96 January 27, 2026 21:25
Copy link
Copy Markdown
Collaborator

@ridhi96 ridhi96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread scripts/03_data-prep.qmd Outdated
```{r}
if (!file.exists(here::here("data/hmda/censustract_apprate.xlsx"))){
download.file(
url = "https://urbanorg.box.com/shared/static/yltdz8gpknsulixuidus2yn6tat8qn0d.xlsx",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this URL points to the county file

Comment thread scripts/03_data-prep.qmd

if (!file.exists(here::here("data/hmda/censustract_denialrate.xlsx"))){
download.file(
url = "https://urbanorg.box.com/shared/static/flkdwuwwjwdb7gb31laxg2t2eu5q6d4q.xlsx",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this URL points to the county file

Comment thread scripts/03_data-prep.qmd Outdated
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_"))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a missing pipe operator here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add in R/ECAP Var

2 participants