Description Usage Arguments Value Examples
View source: R/getDataZentra.R
Get data from the API of zentracloud.com
1 2 3 4 5 6 7 | getDataZentra(
token,
var = "Water Content",
device_sn = "z6-10293",
port,
time_span = c(now(), now() - days(5))
)
|
token |
token get from zentracloud API |
var |
which variable you want to get, they could be "Air Temperature","Atmospheric Pressure","Battery Percent", "Battery Voltage","Gust Speed","Lightning Activity", "Lightning Distance","Logger Temperature","Max Precip Rate" "Precipitation","RH Sensor Temp","Reference Pressure", "Saturation Extract EC","Soil Temperature","Solar Radiation", "VPD", "Vapor Pressure", "Water Content", "Wind Direction","Wind Speed","X-axis Level" "Y-axis Level" |
device_sn |
the name of the z6 datalogger |
port |
the port number of sensor |
time_span |
vector of two having time range for which the data is required |
tibble
1 2 3 | # Get data of VPD for the last five days
# token <- my_token
# VPD_data <- getDataZentra(token,var = "VPD",port =1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.