Use SCPA mailing address fields for label download; drop unit logic

This commit is contained in:
2026-03-09 15:33:15 -04:00
parent e1f5b58809
commit 22ceed09b7
2 changed files with 13 additions and 12 deletions

View File

@@ -46,11 +46,10 @@ owners_raw <-
mutate(
# extract clean street address (before multiple spaces / unit suffix)
label = str_trim(str_extract(situs_address, "^\\d+\\s+\\S+\\s+\\S+")),
unit = str_trim(str_extract(situs_address, "\\d+\\s*$")),
unit = ifelse(is.na(unit), "", unit),
location = paste0(label, ", Venice FL")
) |>
select(account_number, owner_1, owner_2, subdivision, homestead, label, unit, location)
select(account_number, owner_1, owner_2, subdivision, homestead, label, location,
mailing_address_1, mailing_address_2, mailing_city, mailing_state, mailing_zip_code)
# join to geometry ----
owners <- owners_raw |>