Skip to contents

Usage

write_aggr_to_influxdb_loop(
  agg_interval = "1h",
  agg_function = "mean",
  bucket_source = "ultimate",
  bucket_target = sprintf("%s_%s_%s", bucket_source, agg_function, agg_interval),
  bucket_org = "kwb",
  date_start = "2021-07-05",
  date_end = Sys.Date(),
  hour_start = 0,
  hour_end = 12,
  max_days = 5
)

Arguments

agg_interval

aggregation interval (default: "1h")

agg_function

aggregation function (default: "mean")

bucket_source

bucket source (default: "ultimate")

bucket_target

bucket target (default: <bucket_source_<agg_function>_<agg_interval>))

bucket_org

bucket organisation (default: "kwb")

date_start

date start (default: "2021-07-05")

date_end

date end (default: Sys.Date())

hour_start

(default: 0)

hour_end

(default: 12)

max_days

maximum time period in days that should be sent within one query to influxdb (default: 5)

Value

writes aggregated time series to InfluxDB target bucket in loop