Internal function to perform geospatial lookup by bounding box (lat, long).
Source:R/geo_utility.R
lookup_by_bbox.Rd
Internal function to perform geospatial lookup by bounding box (lat, long).
Usage
lookup_by_bbox(
endpoint,
bdate,
edate,
param,
minlat,
maxlat,
minlong,
maxlong,
cached = TRUE,
cache_directory = "/cache",
duration = NULL,
cbdate = NULL,
cedate = NULL
)
Arguments
- endpoint
Base url to make call.
- bdate
Beginning date to check. Year, month, day format.
- edate
Ending date to check. Year, month, day format.
- param
Pollutant parameter that site is measuring.
- minlat
Minimum latitude coordinate.
- maxlat
Maximum latitude coordinate.
- minlong
Minimum longitude coordinate.
- maxlong
Maximum longitude coordinate.
- cached
TRUE or FALSE specifying if the data from the call is to be cached. Default: TRUE. (Optional)
- cache_directory
Place inside user-level cache directory to store the cached data. Default: "/cache". (Optional)
- duration
The 1-character AQS sample duration code. (Optional)
- cbdate
Beginning date of last change to DB. (Optional)
- cedate
Ending date of last change to DB. (Optional)