Returns abbreviations of state name input.

make_state_abb(state)

Arguments

state

A vector of strings with the names of US states.

Value

A vector of strings with the abbreviations of the inputted state names.

Examples

make_state_abb("california")
#> [1] "CA"