.getDirectAllPages {onc.api}R Documentation

Generic method to download and concatenate all pages of data Keeps downloading all scalar or raw data pages until finished Automatically translates sensorCategoryCodes to a string if a list is provided

Description

Generic method to download and concatenate all pages of data Keeps downloading all scalar or raw data pages until finished Automatically translates sensorCategoryCodes to a string if a list is provided

Usage

.getDirectAllPages(
  self,
  filters = list(),
  service = "",
  method = "",
  allPages = FALSE
)

Arguments

self

Calling object

filters

(named list) Filters that describe the data origin

service

One of: "scalardata", "rawdata"

method

One of: "getByDevice", "getByLocation"

allPages

When TRUE, if the data requested is too large to fit a single API resquest, keep downloading data pages until we gather all data

Value

A single response in the expected format, with all data pages concatenated


[Package onc.api version 2.0.1.0 Index]