PWFSLSmoke (version 1.2.100)

epa_createMonitorObject: Download and convert hourly EPA air quality data

Description

Convert EPA data into a ws_monitor object, ready for use with all monitor_~ functions.

Usage

epa_createMonitorObject(zipFile = NULL, zeroMinimum = TRUE,
  addGoogleMeta = TRUE)

Arguments

zipFile

absolute path to monitoring data .zip file

zeroMinimum

logical specifying whether to convert negative values to zero

addGoogleMeta

logicial specifying wheter to use Google elevation and reverse geocoding services

Value

A ws_monitor object with EPA data.

References

EPA AirData Pre-Generated Data Files

file format description

Examples

Run this code
# NOT RUN {
initializeMazamaSpatialUtils()
zipFile <- epa_downloadData(2016, "88101", downloadDir = '~/Data/EPA')
mon <- epa_createMonitorObject(zipFile, addGoogleMeta = FALSE)
# }

Run the code above in your browser using DataLab