get_state_soi: Get state SOI from state name.
Description
Converts state names or state abbreviations to numeric SOI codes, which are required for TAXSIM.
Usage
get_state_soi(state_column)
Value
Named integer vector with each number between 1 and 51 representing the state's SOI.
Names are the state's two letter abbreviation.
Arguments
- state_column
Vectors containing the states to calculate taxes for. Generally, this is the
state column from the data set that will be sent to TAXSIM.