ll_get_devices_cloud_data: Get device data

ll_get_devices_cloud_dataR Documentation

Get device data

Description

Get latest data from the particle cloud for devices.

Usage

ll_get_devices_cloud_data(
  devices = ll_get_devices(group_id = group_id, con = con),
  group_id = default(group_id),
  con = default(con),
  access_token = default(access_token),
  convert_to_TZ = Sys.timezone(),
  spread = FALSE,
  quiet = default(quiet)
)

Arguments

devices

data frame with devices for which to get cloud info, by default all devices associated with the group

access_token

the access token for the accout

convert_to_TZ

if provided, converts the log_datetime to the provided timezone (by default the local one stored in Sys.timezone()). If NULL, will keep it as UTC.

spread

whether to convert the state data into wide format (note that this combines key and index, as well as, value and units columns!)

Value

nested data frame (converted from JSON)


KopfLab/labwareC3 documentation built on June 30, 2023, 6:22 a.m.