Prepare internal data for DCS upload.

prepare_data(path, source)

Arguments

path

character: Path to file.

source

character: Data source.

Value

tibble

Details

[Experimental]

Examples

# 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