R/update_variables.R
state_to_abb.Rd
`state_to_abb` changes all state names in selected column to abbreviations.
state_to_abb(.data, state_col)
Dataframe.
String. Name of state column.
Updated dataframe where all state names in `state_col` have been converted to abbreviations.
[abb_to_state]