ISO-3166 and ISO-3166-2 Codes
iso_3166_codes.RdConverts 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
locationcontaining geographical location information extracted from a source document- locations_iso
table containing three columns:
locationwith all unique location identifiers in thetidy_data,iso_3166containing equivalent ISO-3166 codes (if applicable), andiso_3166_2containing equivalent ISO-3166-2 codes (if applicable)