Skip to contents

The functions in this group take a tax year and PIN as input and return a vector as an output. The output vector can be used directly in tax_bill.

Usage

lookup_tax_code(year, pin, conn = ptaxsim_db_conn)

Arguments

year

A numeric vector of tax years.

pin

A character vector of 14-digit PINs.

conn

A connection object pointing to a local copy of the PTAXSIM database.

Value

A vector containing the specified tax data values.

Functions

  • lookup_tax_code(): Lookup the Cook County tax code for a specific PIN and year. Tax codes represent the unique geographic overlap of different taxing districts. If the input vectors are both length N, then the output will also be length N. If the input vectors are different lengths, the Cartesian product is returned.

See also

Other lookups: lookup_dt, lookup_geom

Examples

if (FALSE) { # \dontrun{
lookup_tax_code(2019, c("20304190020000", "16152090350000"))
lookup_tax_code(2006:2021, c("20304190020000", "16152090350000"))
} # }