Learn R Programming

ecoengine (version 1.3)

ee_sensors: ee_sensors

Description

Returns UC reserve system sensor data

Usage

ee_sensors(page = NULL, page_size = 25, remote_id = NULL,
  collection_code = NULL, source = NULL, min_date = NULL,
  max_date = NULL, foptions = list())

Arguments

page
Page number
page_size
The number of observations per page returned by the query. The package default is 25 observations. The API default, however, is 10. Setting this number higher will require fewer calls (i.e. pages) but a large size may also fail o
remote_id
Need to describe these parameters
collection_code
Type of collection. Can be CalAcademy, Private, VTM, CDFA. CalFlora Others TBA
source
Need to describe these parameters
min_date
Lower date bound. Most be in format Y-m-D h:m:s. This package uses lubridate's ymd_hms function to format dates.
max_date
upper date bound. Most be in format Y-m-D h:m:s. This package uses lubridate's ymd_hms function to format dates.
foptions
A list of additional arguments for httr. There is no reason to use this argument except for debugging purposes.

Examples

Run this code
# Currently there are only 40 sensors, so request only needs to be pages 1 and 2.
ee_sensors()
all_sensors <- ee_sensors()

Run the code above in your browser using DataLab