Description Usage Arguments Value References See Also
View source: R/influxdb_database_management.R
The folllowing functions are convenient wrappers around influx_post
.
create_database()
: creates a new database
drop_database()
: drops an existing database
drop_series()
: drops specific series
delete()
: deletes all points from a series in a database (supports time intervals)
drop_measurement()
: drops an entire measurement
create_retention_policy()
: create a new retention policy
alter_retention_policy()
: alter a retention policy
drop_retention_policy()
: drop a retention policy
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | create_database(con, db)
drop_database(con, db)
drop_series(con, db, measurement = NULL, where = NULL)
delete(con, db, measurement = NULL, where = NULL)
drop_measurement(con, db, measurement)
create_retention_policy(con, db, rp_name, duration, replication,
default = FALSE)
alter_retention_policy(con, db, rp_name, duration, replication,
default = FALSE)
drop_retention_policy(con, db, rp_name)
|
con |
An |
db |
Sets the target database for the query. |
measurement |
Sets a specific measurement. |
where |
Apply filter on tag key values. |
rp_name |
The name of the retention policy. |
duration |
Determines how long InfluxDB keeps the data. |
replication |
The number of data nodes. |
default |
logical. If TRUE, the new retention policy is the default retention policy for the database. |
A tibble containing post results in case of an error (or message). Otherwise NULL (invisibly).
https://docs.influxdata.com/influxdb/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.