Description Usage Arguments Value Examples
This function is for formatting specific issues with the data being reported by the NYT county data in this repo
1 2 3 4 5 6 7 | format_nyt(
df,
distribute_unknowns = TRUE,
skip_assignment = NULL,
na_fill = FALSE,
seed = 1998
)
|
df |
the result of calling |
distribute_unknowns |
logical. Distribute cases in "Unknown" counties to
actual counties. Default is |
skip_assignment |
character vector. A vector of state fips codes to skip in the distribution of unknown cases. |
na_fill |
logical. Default is |
seed |
integer. If set, used in |
a data frame with additionally formatted data
1 2 3 4 5 | library(covidmap)
df_raw <- get_nyt()
df <- format_nyt(df_raw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.