get_datalog {consibiocloudclient} | R Documentation |
Get datalog for elements in project
Description
Get the datalog for multiple elements in a project from Consibio APIs.
Usage
get_datalog(
element_ids_to_fetch = NULL,
from_time = NULL,
to_time = NULL,
interval = NULL,
raw = FALSE
)
Arguments
element_ids_to_fetch |
The element ids to fetch ( |
from_time |
The from date ( |
to_time |
The to date ( |
interval |
The interval (optional, in seconds). |
raw |
If TRUE, return the raw JSON response. |
Details
See details in https://api.v2.consibio.com/api-docs/#/default/get_projects__project_id__datalog
Value
A data frame with the datalog information.
Examples
## Not run:
get_datalog(
element_ids_to_fetch = c("{element_id}"),
from_time = as.POSIXct("2021-01-01"), to_time = as.POSIXct("2021-01-02")
)
## End(Not run)
[Package consibiocloudclient version 1.0.0 Index]