View source: R/error_on_missing_locations.R
error_on_missing_locations | R Documentation |
Compares data to location hierarchy to ensure that data has values present for each hierarchy entry.
Issues a stop
if any values are missing.
error_on_missing_locations( data, ..., hierarchy, hierarchy.value = "location_id" )
data |
vector-like with values corresponding to the location hierarchy |
... |
captures other arguments. Do not provide any or you will get an error. |
hierarchy |
IHME location hierarchy from e.g., |
hierarchy.value |
the value in the hierarchy to compare to. Default: "location_id" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.