pas_addUniqueIDs {AirSensor}R Documentation

Add Unique Identifiers to PurpleAir Synoptic Data

Description

Generates and adds a unique identification vector to PurpleAir sensors using the MazamaLocationUtils package, which creates a unique ID based upon coordinate location and device id.

Adds the following vectors:

Usage

pas_addUniqueIDs(pas = NULL)

Arguments

pas

a pa_synoptic dataframe

Value

A dataframe with generated unique ID columns added.

See Also

pas_addSpatialMetadata

Examples


library(AirSensor)

initializeMazamaSpatialUtils()

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


[Package AirSensor version 1.0.8 Index]