configuration_file_yaml: read (or set) configuration filepath in YAML

View source: R/dMeasure.R

configuration_file_yamlR Documentation

read (or set) configuration filepath in YAML

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_yaml(dMeasure_obj, value)

Arguments

dMeasure_obj

dMeasure R6 object

value

(opt) filepath to set

Details

'~/.DailyMeasure_cfg.yaml'

this method will read or write the .sqlite filepath to the YAML configuration file. If already existing might contain the 'real' location of the $sql_config_filepath

Does not change the configuration file used by the current dM object.

returns the SQL filepath

Value

local_config $config_file : SQL filepath (only returned if no 'value' provided)


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