get_data: Get data from Arable for devices

Description Usage Arguments Value

View source: R/arable.R

Description

Get data from Arable for devices

Usage

1
2
get_data(devices, start, end, location = NULL, format = "csv",
  order = "time", measure = "hourly", select = "all", limit = 1000)

Arguments

devices

A character vector of device names

start

The start timestamp

end

The end timestamp

location

optional; id of a location to retrieve data for; devices ignored if this is present

format

optional; use format=csv to get csv-formatted data; otherwise data is returned as json

order

optional; "time" (time ascending) or "-time" (time descending)

measure

optional; "calibrated", "hourly", or "daily"

select

optional; "all", "spectrometer", "microclimate", or "radiometer"

limit

optional; maximum number of data points to return; defaults to 1000

Value

A data frame of data for devices


byzheng/RArable documentation built on May 24, 2019, 12:35 a.m.