Rejects suspicious coordinates before they reach a dashboard. By default this
is a fast bounding-box check; supply boundary (an sf polygon of the
service area) for a precise point-in-polygon test.
Usage
validate_geocodes(data, boundary = NULL, bbox = region_bbox("NJ"))Arguments
- data
A geocoded data frame with
latitude/longitude.- boundary
Optional
sfpolygon. When given, validation uses point-in-polygon instead of the bounding box.- bbox
Bounding box for the fast path; see
region_bbox().
