Skip to contents

Read the project yaml file

Usage

rev_read_yaml(
  iso3c = NULL,
  path = NULL,
  filename = paste0("config_", iso3c, ".yml"),
  projdir = getwd(),
  raw = FALSE
)

Arguments

iso3c

country isocode alpha-2

path

path to directory to save the configuration file

filename

name of the file (default config_iso3c.yml)

projdir

full path of the project; will be used as default path for not-provided path.

raw

logical, should the read yaml file be return without pre-processing (this includes merging paths for known directories of the project), FALSE by default.

Value

list with yaml parameters