read_variables: Read Variables from Database

View source: R/access_db.R

read_variablesR Documentation

Read Variables from Database

Description

Reads the specified variables from the SQLite database.

Usage

read_variables(path, variables, freq, prep_fun, aggr_funs, postp_funs)

Arguments

path

[mandatory] (character) Path to the root directory of the generated database.

variables

[mandatory] (character) A vector of variable names to read.

freq

[mandatory] (character) Specifies the frequency to aggregate the data.

prep_fun

[mandatory] (function) Function used for pre-processing.

aggr_funs

[mandatory] (function or list) Aggregation function(s).

postp_funs

[mandatory] (function or list) Post-processing function(s).

Value

A list of variables read from the database.


geeLite documentation built on Aug. 9, 2025, 1:08 a.m.