powered by
This function is used to first normalize a full state name and then call abbrev_full() using valid_name and valid_state as the full and rep arguments.
full
abbrev_full()
rep
abbrev_state(full)
The 2-letter USPS abbreviation of for state names (e.g., "VT").
A full US state name character vector (e.g., "Vermont").
Other geographic normalization functions: abbrev_full(), check_city(), expand_abbrev(), expand_state(), fetch_city(), normal_address(), normal_city(), normal_state(), normal_zip(), str_normal()
check_city()
expand_abbrev()
expand_state()
fetch_city()
normal_address()
normal_city()
normal_state()
normal_zip()
str_normal()
abbrev_state(full = state.name) abbrev_state(full = c("new mexico", "france"))
Run the code above in your browser using DataLab