Will download the data if necessary.

get_bca_data(
  table,
  version = list(revision = 22, persistent_id = "hdl:11272.1/AB2/LAPUAB/HHU1YP"),
  api_key = Sys.getenv("ABACUS_API_TOKEN"),
  cache_path = Sys.getenv("ABACUS_CACHE_PATH"),
  refresh = FALSE
)

Arguments

table

name of the data table. Possibly values are "address", "assessmentAreaKey", "commercialInventory", "folio", "folioDescription", "folioDescriptionTax", "jurisdictionKey", "legalDescription" , "metadata", "residentialInventory", "sales", "valuation", "value"

version

database version, requires revision number and persistent ID

api_key

Abacus API key

cache_path

cache path for local caching of the database

refresh

optionally refresh the local database if set to TRUE

Value

A database connection to the residential inventory table