
Last chance! 50% off unlimited learning
Sale ends in
This function is used to first normalize an abb
and then call
expand_abbrev()
using valid_state and valid_name as the abb
and rep
arguments.
expand_state(abb)
The 2-letter USPS abbreviation of for state names (e.g., "VT").
A abb US state name character vector (e.g., "Vermont").
Other geographic normalization functions:
abbrev_full()
,
abbrev_state()
,
check_city()
,
expand_abbrev()
,
fetch_city()
,
normal_address()
,
normal_city()
,
normal_state()
,
normal_zip()
,
str_normal()
expand_state(abb = state.abb)
expand_state(abb = c("nm", "fr"))
Run the code above in your browser using DataLab