read_sql: Read data from the RRD database

View source: R/read_sql.R

read_sqlR Documentation

Read data from the RRD database

Description

The function executes the provided sql statement and returns the resulting table0. For security, the database is opened in read-only mode.!

Usage

read_sql(db = getOption("RRDdb", "LEEF.RRD.sqlite"), sql)

Arguments

db

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

sql

sql statement

Value

the table resulting from the query as a data.frame object.


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