get_datalog {consibiocloudclient} | R Documentation |
Get the datalog for multiple elements in a project from Consibio APIs.
get_datalog(
element_ids_to_fetch = NULL,
from_time = NULL,
to_time = NULL,
interval = NULL,
raw = FALSE
)
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. |
See details in https://api.v2.consibio.com/api-docs/#/default/get_projects__project_id__datalog
A data frame with the datalog information.
## 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)