The pat parameter is checked for the latest pa_timeseries format and presence of and/or addition of core data columns:

  • datetime -- A datetime column

  • pm25_A -- Channel A PM2.5

  • pm25_B -- Channel B PM2.5

  • temperature -- Tmperature in Faarehniet

  • humidity -- Relative Humidity

  • pressure -- Pressure in hectopascals (hPa)

  • pm1_atm_A -- Channel A PM1.0

  • pm25_atm_A -- Channel A PM2.5

  • pm10_atm_A -- Channel A PM10.0

  • pm1_atm_B -- Channel B PM1.0

  • pm25_atm_B -- Channel B PM2.5

  • pm10_atm_B -- Channel B PM10.0

  • uptime -- Sensor uptime in seconds

  • rssi -- Sensor WiFi signal strength in dBm

  • memory -- Memory Usage

  • adc0 -- Voltage

  • bsec_iaq -- ?

  • datetime_A -- Record datetime of Channel B

  • datetime_B -- Record datetime of Channel A

pat_upgrade(pat = NULL, verbose = TRUE)

Arguments

pat

PurpleAir Timeseries pat object.

verbose

(logical) Display messages.

Value

An upgraded pa_timeseries object.