latest_device_observation: Get latest device observation

View source: R/latest-dev-obs.R

latest_device_observationR Documentation

Get latest device observation

Description

Get the latest observation from one of your devices.

Usage

latest_device_observation(device_id, pat = tempest_pat())

Arguments

device_id

(chr) device id

pat

see tempest_pat()

Details

The observations are not named but are in this order:

Value

list with device metadata, configured, units and point-in-time observation

References

Tempest API

Examples

## Not run: 
st <- tempest_station_meta()
latest_device_observation(st$stations$devices[[1]]$device_id[2])$obs

## End(Not run)

hrbrmstr/tempestwx documentation built on May 7, 2022, 4:49 p.m.