get_state_soi: Get state SOI from state name.

View source: R/utils_clean_data.R

get_state_soiR Documentation

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)

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.


usincometaxes documentation built on May 29, 2024, 10:22 a.m.