Description Usage Arguments Value References
View source: R/influxdb_select.R
This function is a convenient wrapper for selecting data from a measurement
by calling influx_query
with the corresponding query.
1 2 3 4 |
con |
An |
db |
Sets the target database for the query. |
field_keys |
Specifies the fields to be selected. |
rp |
The name of the retention policy. |
measurement |
Character vector containing name(s) of the measurement(s). |
where |
Apply filter on tag key values. |
group_by |
The group_by clause in InfluxDB is used not only for grouping by given values, but also for grouping by given time buckets. |
limit |
Limits the number of the n oldest points to be returned. |
slimit |
logical. Sets limiting procedure (slimit vs. limit). |
offset |
Offsets the returned points by the value provided. |
order_desc |
logical. Change sort order to descending. |
return_xts |
logical. Sets the return type. If set to TRUE, a list of xts objects is returned, FALSE gives list of tibbles. |
simplifyList |
logical. If only one series is returned, the result can be flatten to directly get either a tibble or an xts object (instead of a list) (default is FALSE). |
A list of xts or tibbles. Empty query results yield to NULL.
https://docs.influxdata.com/influxdb/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.