pas_addUniqueIDs: Add Unique Identifiers to PurpleAir Synoptic Data

View source: R/pas_addUniqueIDs.R

pas_addUniqueIDsR 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:

  • deviceID –PurpleAir ID

  • locationID – MazamaLocationUtils generated location ID

  • deviceDeploymentID – A combination of device and location IDs

Usage

pas_addUniqueIDs(pas = NULL)

Arguments

pas

a pa_synoptic dataframe

Value

A dataframe with generated unique ID columns added.

Note

This function is only needed to add these IDs to archival pas generated with very early verions of the AirSensor package.

See Also

pas_enhanceRawData


MazamaScience/AirSensor documentation built on April 28, 2023, 11:16 a.m.