Enhances raw location data returned by [openaq::list_locations()] to create a standardized data frame compatible with MazamaLocationUtils and AirSensor2 conventions.
Usage
OpenAQ_enhanceRawLocations(
locations_raw = NULL,
countryCodes = NULL,
stateCodes = NULL,
counties = NULL
)Arguments
- locations_raw
Data frame returned by [openaq::list_locations()].
- countryCodes
Optional ISO 3166-1 alpha-2 country codes used to subset the data.
- stateCodes
Optional ISO 3166-2 alpha-2 state codes used to subset the data.
- counties
Optional U.S. county names or 5-digit FIPS codes used to subset the data.