Prepare internal data for DCS upload.
prepare_data(path, source)
character: Path to file.
character: Data source.
tibble
# Prepare UNODC homicide data
path <- system.file("extdata",
"homicide_all.xlsx",
package = "pddcs"
)
df <- prepare_data(path, source = "homicide")
#> Warning: Some values were not matched unambiguously: Channel Islands, Kosovo under UNSCR 1244