Retrieve bundled monitoring station points
Source:R/retrieve.R
retrieve_monitoring_stations_simple.RdReturns the built-in monitoring station point layer shipped in
inst/extdata/monitoring_stations.rds. This layer is intended for examples
and tests that need a real point-in-polygon join with no network access.
It is NOT a substitute for retrieve_monitoring_stations(): use
retrieve_monitoring_stations() when you need up-to-date, authoritative
monitoring station locations.
Value
An sf object of monitoring station points (OGF_ID,
STATION_NAME, STATION_IDENT, NETWORK_NAME, DATA_COLLECTION_METHOD,
geometry columns) in EPSG:4326, with source_url, source_name, and
retrieved_at attributes attached for provenance. retrieved_at is the
snapshot instant of the bundled data, not the time of the call.
Details
The built-in file was downloaded from the Esri Hub export endpoint for LIO
layer LIO_Open08/30 and subset to six columns to fit the CRAN package
size budget. The source data are published by the Ontario Ministry of
Natural Resources and Forestry under the Open Government Licence - Ontario.
Examples
stations <- retrieve_monitoring_stations_simple()
nrow(stations)
#> [1] 2407