Most of the processing functions expect ISO codes to be in lower case and in a column called ISO.

standardize_iso(d, col = "iso", delete_original = TRUE)

Arguments

d

The data to be transformed.

col

The column currently containing the iso codes (default = 'iso')

delete_original

Delete original column? Logical

Value

Tibble with the iso codes converted to lower case. If the column with the codes was not called 'iso', it will be renamed to 'iso'.