Description Usage Arguments Value
This function is for handling the specific issues with the data being reported by the NYT in this repo, so there are some hard coded things, if the issues change, then this might no longer work.
1 2 3 4 5 6 7 8 |
df |
data.frame of county level covid-19 data from NYT |
probdf |
data.frame. Data to be used as probabilities for assigning observations. required to have county fips codes. |
distribute_unknowns |
logical. If |
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 |
data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.