configuration_file_path: read (or set) configuration filepath

View source: R/dMeasure.R

configuration_file_pathR Documentation

read (or set) configuration filepath

Description

By default, the YAML configuration is either in the working directory (where a local installation of R lives), or the user's home directory

Usage

configuration_file_path(dMeasure_obj, value)

Arguments

dMeasure_obj

dMeasure R6 object

value

(opt) filepath to set

Details

'~/.DailyMeasure_cfg.yaml'

this method will read or set $sql_config_filepath it will read the YAML configuration filepath, which if already existing might contain the 'real' location of the $sql_config_filepath

returns the SQL filepath

Value

SQL filepath (only returned if no 'value' provided)

Examples

dMeasure_obj <- dMeasure$new()
dMeasure_obj$configuration_file_path # read filepath
dMeasure_obj$configuration_file_path <- "c:/config.sqlite"
# sets filepath

DavidPatShuiFong/dMeasure documentation built on Aug. 2, 2024, 11:45 p.m.