Create a round robin database for a series of numeric data collected at regular time intervals

create_db(fn, tz_step, n, m, tz_origin = 0, size = 8)

Arguments

fn

file name

tz_step

step of time series data in seconds

n

number of steps to store

m

number of data points at each time step

tz_origin

origin of time steps in seconds

size

size in bits of the written numeric data

Value

invisible(TRUE) but called for the bi-product of creating the file

Details

The value tz_origin can be though off as the offset from 1970-01-01 00:00:00 (0 epoch time) of the closest observation time e.g is observations were record hourly at 5 minutes past the hour tz_step=3600 and tz_origin = 300