influxdb_query: Query an InfluxDB database

Description Usage Arguments Value

Description

Query an InfluxDB database

Usage

1
2
  influxdb_query(host, port, username, password, database,
    query, time_precision = c("s", "m", "u"))

Arguments

host

Character vector with IP address or hostname

port

Port number

username

InfluxDB user

password

InfluxDB password (will be passed in plain text)

database

The name of the database

query

Character vector containing the InfluxDB query

time_precision

Specifies whether the time should be returned in seconds (s), milliseconds (m), or microseconds (u) from epoch (January 1, 1970, 00:00:00 UTC).

Value

A named list of data frames, where the names are the series names, and the data frames contain the points.


influxdb/influxdb-r documentation built on May 18, 2019, 4:51 a.m.