Closed erikarasnick closed 4 months ago
enforce matching addresses in cagis to be unique?
Here, the CAGIS data is nested by all used variables except for the parcel ID: https://github.com/cole-brokamp/addr/blob/65830c64873a65de2dd54de856c58a982549e911/data-raw/make_cagis_addr.R#L40-L44
So, if the CAGIS address record differs on one of these features (cagis_addr, cagis_address, cagis_address_place, cagis_is_condo, cagis_address_type, cagis_s2), then it will result in more than one record for the same address (but still have distinct parcel identifiers).
The example above have different geographic coordinates (and thus s2 cell identifiers) and different "place names", so they have unique rows in the address dataset.
Some address in
cagis_addr
have multiple parcel ids per line. See example below.Created on 2024-07-05 with reprex v2.1.0