Skip to contents

Converts state names or state abbreviations to numeric SOI codes, which are required for TAXSIM.

Usage

get_state_soi(state_column)

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.

Value

Named integer vector with each number between 1 and 51 representing the state's SOI. Names are the state's two letter abbreviation.