Skip to content

Commit

Permalink
hotfix missed assignment in #20
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenturner committed Dec 21, 2021
1 parent 5714fc1 commit dbbf3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/retrieve.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ get_hdgov_hosp <- function(endpoint="https://healthdata.gov/resource/g62h-syeh.j
dplyr::arrange(date)

# Make everything except state and date numeric
d %>% dplyr::mutate(dplyr::across(.cols=-c(state, date), as.numeric))
d <- d %>% dplyr::mutate(dplyr::across(.cols=-c(state, date), as.numeric))

# Simplify column names for columns you care most about, and relocate to the front of the tibble
d <- d %>%
Expand Down

0 comments on commit dbbf3a0

Please sign in to comment.