Find records within some distance of a point given latitude and longitude.
Source:R/spatialsearch.R
spatialsearch.Rd
Searches by decimal latitude and longitude to return any occurrence record within the input distance (radius) of the input point.
Arguments
- lat
(numeric) Latitude of the central point, in decimal degrees required.
- long
(numeric) Longitude of the central point, in decimal degrees required.
- radius
(numeric) Radius to search, in meters. There is no default value for this parameter. required.
- limit
(integer) Limit on the number of records returned. If >1000 results, we use a cursor internally, but you should still get up to the results you asked for. See also
bigsearch()
to get larger result sets in a text file via email.- compact
(logical) Return a compact data frame. default:
TRUE
- messages
(logical) Print progress and information messages. Default:
TRUE
- ...
Curl arguments passed on to crul::HttpClient
Value
A list with two slots:
meta: a named list of metadata for the search results
data: a data frame of search results, columns vary