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.

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

Examples

# \donttest{ library(AirSensor) initializeMazamaSpatialUtils() pas_enhanced <- example_pas_raw %>% pas_addSpatialMetadata() %>% pas_addAirDistrict() # }