Learn R Programming

AirSensor (version 1.0.2)

pas_downloadParseRawData: Download synoptic data from PurpleAir

Description

Download and parse synoptic data from the Purple Air network of particulate sensors.

The synoptic data provides a view of the entire Purple Air network and includes both metadata and recent PM2.5 averages for each deployed sensor.

Usage

pas_downloadParseRawData(baseUrl = "https://www.purpleair.com/json")

Arguments

baseUrl

base URL for synoptic data

Value

Dataframe of synoptic PurpleAir data.

References

json formatted PurpleAir data

See Also

pas_enhanceData

Examples

Run this code
# NOT RUN {
library(AirSensor)

initializeMazamaSpatialUtils()

pas_raw <- pas_downloadParseRawData()

if ( interactive() ) {
  View(pas_raw[1:100,])
}
# }

Run the code above in your browser using DataLab