get_truth_data | R Documentation |
Get Local Truth Data
get_truth_data(dir, range = "daily", type = "incident", target = "cases", locs)
dir |
A character string indicating the path to the target data folder. |
range |
A character string indicating the range of the data. Supported options are "daily" or "weekly". |
type |
A character string indicating the type of data to load. Supports either "incident" or "cumulative'. |
target |
A character string indicating the target type. Supports either "cases" or "deaths". |
locs |
A character vector of target locations to filter for (by code). |
A data table of required truth data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.