Converts a vector of ISO 3166-2 alpha-2 state codes to the corresponding English names.
codeToState(stateCodes, countryCodes = NULL, dataset = "NaturalEarthAdm1")A vector of English state names or NA.
For this function to work, you must install and load the "NaturalEarthAdm1" dataset.
convertNaturalEarthAdm1