R/config_helper.R

Defines functions configs

Documented in configs

#' Return names of all configs in config file
#'
#' @param config_yml the config file containing the sql queries
#'
#' @return \code{ggplot} object of the plot
#'
#' @import ggplot2
#'
#' @export
#'
#' @examples
configs <- function(
  config_yml = system.file("tables.yml", package = "LEEF.analysis")
){
  config <- yaml::read_yaml(config_yml)

  names(config)
}
LEEF-UZH/LEEF.analysis documentation built on Feb. 8, 2025, 11:18 a.m.