Fetch raw New Hampshire facilities data from a single source
Source:R/get_raw_facilities.R, R/source_surface_docs.R
get_raw_facilities.RdLow-level transparency helper. Most users should call
fetch_facilities() or fetch_facility_gis(). Every value source
is a New Hampshire state agency
source; federal data is not used for values.
Usage
get_raw_facilities(
facility_source,
use_cache = TRUE,
source = NULL,
max_age_days = NULL,
refresh = FALSE
)Arguments
- facility_source
Legacy New Hampshire facilities selector. This is distinct from
source, which controls package versus live acquisition.- use_cache
If TRUE (default), use cached ArcGIS results when fresh. Bundled NHED files are read from
inst/extdata/facilities.- source
One of
"nhed_facility_survey","nhed_building_aid","nhdes_lead","nhed_unused_2025","nhed_unused_2023".- max_age_days
Maximum reusable live-cache age in elapsed 24-hour days.
- refresh
Force live retrieval. Valid only in live mode.