usdata (version 0.1.0)

abbr2state: Convert state abbreviations to names

Description

Two utility functions. One converts state names to the state abbreviations, and the second does the opposite.

Usage

abbr2state(abbr)

Arguments

abbr

A vector of state abbreviation.

Value

Returns a vector of the same length with the corresponding state names or abbreviations.

See Also

state2abbr, county, county_complete

Examples

Run this code
# NOT RUN {
abbr2state("MN")

# }

Run the code above in your browser using DataLab