Skip to content

Commit

Permalink
fix: add readr
Browse files Browse the repository at this point in the history
  • Loading branch information
dshemetov committed Oct 3, 2024
1 parent 6805d98 commit 57df54c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Suggests:
quantreg,
ranger,
RcppRoll,
readr,
rmarkdown,
smoothqr,
testthat (>= 3.0.0),
Expand Down
2 changes: 1 addition & 1 deletion data-raw/state_census.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
library(dplyr)
library(tidyr)

state_census <- read_csv("https://github.com/cmu-delphi/covidcast/raw/c89e4d295550ba1540d64d2cc991badf63ad04e5/Python-packages/covidcast-py/covidcast/geo_mappings/state_census.csv") %>%
state_census <- readr::read_csv("https://github.com/cmu-delphi/covidcast/raw/c89e4d295550ba1540d64d2cc991badf63ad04e5/Python-packages/covidcast-py/covidcast/geo_mappings/state_census.csv") %>% # nolint: line_length_linter
select(STATE, NAME, POPESTIMATE2019, ABBR) %>%
rename(abbr = ABBR, name = NAME, pop = POPESTIMATE2019, fips = STATE) %>%
mutate(abbr = tolower(abbr)) %>%
Expand Down

0 comments on commit 57df54c

Please sign in to comment.