powered by
Take a vector of state identifiers and convert to a common format.
state_convert(x, to = NULL)
A character vector of single format state identifiers.
A character vector of: state names, abbreviations, or FIPS codes.
The format returned: "abb", "name" or "fips".
state_convert(c("AL", "Vermont", "06"))
Run the code above in your browser using DataLab