Geocodes only the rows marked ready_for_geocoding, using the structured
Census engine (street / city / state / ZIP) rather than a single-line string,
which matches reliably more often. Rows not ready are returned untouched with
empty coordinate columns so the frame stays rectangular.
Arguments
- data
A data frame from
flag_bad_addresses().- ...
Passed through to
tidygeocoder::geocode()(e.g.full_results).- cache
Optional
locatr_cache(). When supplied, rows whose structured query is already cached are filled from it instead of re-querying Census.- refresh
If
TRUE, ignore cached entries and re-query, overwriting them. Defaults toFALSE.
