pas_addAirDistrict {AirSensor}R Documentation

Add an air district to PurpleAir Synoptic Data

Description

Adds an air district (if any) to a pa_synoptic object via the MazamaSpatialUtils Package using PurpleAir location coordinates to determine the air basin the sensor is in.

Usage

pas_addAirDistrict(pas = NULL)

Arguments

pas

PurpleAir Synoptic pas object.

Value

A pa_synoptic dataframe

Note

As of 2020-04-14, only California air basins is supported.

See Also

pas_enhanceData

Examples


library(AirSensor)

initializeMazamaSpatialUtils()

pas_enhanced <-
  example_pas_raw %>% 
  pas_addSpatialMetadata() %>%  
  pas_addAirDistrict() 


[Package AirSensor version 1.0.8 Index]