Get the two-letter abbreviation for a state, given the name of the state or the FIPS code

get_state_abbr(state)

Arguments

state

String that is a name of a state or the FIPS code

Value

String that is the two-letter abbreviation for the state