db_read_stressor_levels: Read 'stressor_levels' from RRD database and return as an...

View source: R/db_read_stressor_levels.R

db_read_stressor_levelsR Documentation

Read stressor_levels from RRD database and return as an tbl_SQLiteConnection.

Description

This function does not actually fetch the data, but returns an tbl_SQLiteConnection object which can be further processed / filtered using dplyr. See https://db.rstudio.com/r-packages/dplyr/ for details. To fetch the actual data, execute collect().

Usage

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

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

Value

Link to the table stressor_levels in the RRD to be used with dplyr and friends


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