Add unit numbers and rename label to address_1 in mailing export
All checks were successful
Deploy stAndrews / deploy (push) Successful in 5s

This commit is contained in:
2026-03-09 15:12:58 -04:00
parent a2d962abd8
commit ec55035e63
2 changed files with 13 additions and 9 deletions

View File

@@ -46,9 +46,11 @@ 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, location)
select(account_number, owner_1, owner_2, subdivision, homestead, label, unit, location)
# join to geometry ----
owners <- owners_raw |>