View source: R/state-convert.R
state_convert | R Documentation |
Take a vector of state identifiers and convert to a common format.
state_convert(x, to = NULL)
x |
A character vector of: state names, abbreviations, or FIPS codes. |
to |
The format returned: "abb", "name" or "fips". |
A character vector of single format state identifiers.
state_convert(c("AL", "Vermont", "06"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.