PWFSLSmoke (version 1.2.100)

airnow_downloadSites: Download AirNow Site Location Metadata

Description

The https://airnowtech.org site provides both air pollution monitoring data as well as monitoring site location metadata. This function retrieves the most recent version of the site location metadata file and returns it as a dataframe.

A description of the data format is publicly available at the Monitoring Site Fact Sheet.

Usage

airnow_downloadSites(baseUrl = "https://files.airnowtech.org/airnow/today/",
  file = "monitoring_site_locations.dat")

Arguments

baseUrl

location of the AirNow monitoring site locations file

file

name of the AirNow monitoring site locations file

Value

Tibble of site location metadata.

See Also

airnow_createMetaDataframes

Examples

Run this code
# NOT RUN {
sites <- airnow_downloadSites()
# }

Run the code above in your browser using DataLab