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
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)
An influx_connection
object (s. influx_connection
).
Sets the target database for the query.
Sets a specific measurement.
Apply filter on tag key values.
The name of the retention policy.
Determines how long InfluxDB keeps the data.
The number of data nodes.
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).