powered by
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.
abb
expand_abbrev()
rep
expand_state(abb)
A abb US state name character vector (e.g., "Vermont").
The 2-letter USPS abbreviation of for state names (e.g., "VT").
Other geographic normalization functions: abbrev_full(), abbrev_state(), check_city(), expand_abbrev(), fetch_city(), normal_address(), normal_city(), normal_state(), normal_zip(), str_normal()
abbrev_full()
abbrev_state()
check_city()
fetch_city()
normal_address()
normal_city()
normal_state()
normal_zip()
str_normal()
# NOT RUN { expand_state(abb = state.abb) expand_state(abb = c("nm", "fr")) # }
Run the code above in your browser using DataLab