Description Usage Arguments Value
Write data to InfluxDB
1 2 3 4 5 6 7 8 9 10 | influxdb_write(data, con, db, precision, rp, consistency,
httr_config = list(), ...)
## Default S3 method:
influxdb_write(data, con, db, precision, rp, consistency,
httr_config = list(), ...)
## S3 method for class 'character'
influxdb_write(data, con, db, precision, rp,
consistency, httr_config = list(), ...)
|
data |
data to write, a vector line protocals or a named list-like object |
con |
a InfluxDB connection |
db |
database to write to |
precision |
precision of the epoch |
rp |
retention policy name |
consistency |
consistency |
httr_config |
additional httr curl config passed to httr::POST() |
... |
futher arguments passed to line_protocol() |
httr reponse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.