extract_timestamps: Extract data from table

View source: R/extract_timestamps.R

extract_timestampsR Documentation

Extract data from table

Description

Extract data from table matching the timestamps. For each timestamp the data will be saved as an rds file. If delete_data == TRUE the data will be deleted from the database.

Usage

extract_timestamps(
  db = getOption("RRDdb", "LEEF.RRD.sqlite"),
  table = NULL,
  timestamps,
  delete_data = FALSE,
  only_delete = FALSE
)

Arguments

db

fully qualified path to the sqlite database. Default, read from option RRDdb. If not set, defaults to option RRDdb; if this is not set, defaults to LEEF.RRD.sqlite

table

the name of the table. If NULL, a list of tables in the database db will be shown.

timestamps

timestamps which should be extracted

delete_data

Attention! If TRUE the data is deleted from the database!

only_delete

if TRUE data will only be deleted and not extracted.

Value

invisibly NULL


LEEF-UZH/LEEF.analysis documentation built on Feb. 8, 2025, 11:18 a.m.