Use SCPA mailing address fields for label download; drop unit logic
This commit is contained in:
@@ -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 |>
|
||||
|
||||
Reference in New Issue
Block a user