wl_sensor_activity: Get latest reporting times for all sensors attached to all...

Description Usage Arguments Value References

View source: R/sensor-activity.R

Description

Returns the most recent times data was uploaded for all sensors associated with the api key that was passed. T

Usage

1
2
3
4
wl_sensor_activity(
  api_key = Sys.getenv("WEATHERLINK_API_KEY"),
  api_secret = Sys.getenv("WEATHERLINK_API_SECRET")
)

Arguments

api_key, api_secret

WeatherLink API (V2) key/secret. Generate & retrieve them from your account page. Automagically retrieved from WEATHERLINK_API_KEY and WEATHERLINK_API_SECRET environment variables.

Value

data frame with a generated_at attribute

References

API Endpoint; Data structure types


hrbrmstr/weatherlink documentation built on Jan. 20, 2021, 10:34 p.m.