dput(head(masks_df, n = 20))
structure(list(mask = c(NA_character_, NA_character_, NA_character_,
NA_character_, "Yes", NA_character_, NA_character_, NA_character_,
NA_character_, NA_character_, NA_character_, NA_character_, NA_character_,
NA_character_, NA_character_, NA_character_, NA_character_, NA_character_,
NA_character_, NA_character_), date = structure(c(18334, 18335,
18336, 18337, 18338, 18339, 18340, 18341, 18342, 18343, 18344,
18345, 18346, 18347, 18348, 18349, 18350, 18351, 18352, 18353
), class = "Date"), state = c("AL", "AL", "AL", "AL", "AL", "AL",
"AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL",
"AL", "AL", "AL"), new_case = c(1, 5, 6, 16, 8, 10, 22, 13, 43,
14, 29, 48, 68, 223, 81, 109, 110, 53, 122, 96)), row.names = c(NA,
-20L), groups = structure(list(state = "AL", .rows = structure(list(
1:20), ptype = integer(0), class = c("vctrs_list_of", "vctrs_vctr",
"list"))), row.names = 1L, class = c("tbl_df", "tbl", "data.frame"
), .drop = TRUE), class = c("grouped_df", "tbl_df", "tbl", "data.frame"
))
Does this work, it has the first 20 observations?