ISO-3166 and ISO-3166-2 Codes
iso_3166_codes.Rd
Converts geographical location information, as it was described in a source document, to equivalent ISO-3166 and ISO-3166-2 codes.
Arguments
- tidy_data
data frame containing a field called
location
containing geographical location information extracted from a source document- locations_iso
table containing three columns:
location
with all unique location identifiers in thetidy_data
,iso_3166
containing equivalent ISO-3166 codes (if applicable), andiso_3166_2
containing equivalent ISO-3166-2 codes (if applicable)