Skip to content

Commit 02c40c4

Browse files
committed
doc: comments
1 parent 2786535 commit 02c40c4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

data-raw/covid_incidence_county_subset_tbl.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ source(here::here("data-raw/_helper.R"))
55

66
d <- as.Date("2024-03-20")
77

8-
# Previously, we were using `covidcast::county_census`, but covidcast is large and complicated to install (due to `sf` dependency). Instead, read the file directly from GitHub.
8+
# Previously, we were using `covidcast::county_census`, but covidcast is large
9+
# and complicated to install (due to `sf` dependency). Instead, read the file
10+
# directly from GitHub.
911
y <- read_csv("https://github.com/cmu-delphi/covidcast/raw/c89e4d295550ba1540d64d2cc991badf63ad04e5/Python-packages/covidcast-py/covidcast/geo_mappings/county_census.csv", # nolint: line_length_linter
1012
col_types = cols(
1113
FIPS = col_character(),

data-raw/state_census.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
library(dplyr)
22
library(covidcast)
33

4+
# Previously, we were using `covidcast::county_census`, but covidcast is large
5+
# and complicated to install (due to `sf` dependency). Instead, read the file
6+
# directly from GitHub.
47
state_census <- read_csv("https://github.com/cmu-delphi/covidcast/raw/c89e4d295550ba1540d64d2cc991badf63ad04e5/Python-packages/covidcast-py/covidcast/geo_mappings/state_census.csv") %>% # nolint: line_length_linter
58
select(STATE, NAME, POPESTIMATE2019, ABBR) %>%
69
rename(abbr = ABBR, name = NAME, pop = POPESTIMATE2019, fips = STATE) %>%

0 commit comments

Comments
 (0)