This helper function produces a tibble of parcel data for an input vector of addresses. The link_parcel() function returns all possible matches above the threshold for each input address and this function chooses the single best match based on the maximum score. Note that one address can be linked to more than one parcel with the same match score (e.g., "323 Fifth" on https://wedge3.hcauditor.org/search_results). In this case, a special identifier, TIED_MATCHES is returned instead of a missing parcel_id. Addresses are subsequently tried to be matched with a known apartment complex using link_apt(). (Matched apartment complex psuedo-identifers take precedence over matched parcel identifers.) The hamilton_online_parcels tabular data resource is also linked based on parcel_id. For finer control of selecting matched parcels based on scores, use link_parcel() and link_apt()

get_parcel_data(x)

Arguments

x

a vector of address character strings

Value

a tibble with the input_addresses defined in x in the first column, and columns corresponding to matched parcel characteristics from CAGIS and Auditor Online Summary website