abbr2state: Convert state abbreviations to names

Description Usage Arguments Value Author(s) See Also Examples

View source: R/abbr2state.R

Description

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

Usage

1
abbr2state(abbr)

Arguments

abbr

A vector of state abbreviation.

Value

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

Author(s)

David Diez

See Also

state2abbr, county, county_complete

Examples

1
abbr2state("MN")

usdata documentation built on June 22, 2021, 1:06 a.m.