Add iso3 code to data
add_iso3.Rd
This function adds the iso3 code to a data frame, using the country synonyms file to match on country.
Examples
data.frame(country = c("DRC", "Congo", "Malawi"), value = 1) %>%
add_iso3()
#> Error: `path` does not exist: ‘C:/Users//Gavi/Measurement, Evaluation and Learning - Documents/CPMM/Datasets/Country Groupings/synonyms/country_synonyms.xlsx’