R/.nba_build_models_yaml_template.R

#' generate a template yaml
#' @return a yaml to be filled in
.nba_pipeline_yaml_template <- function() {
  yaml::as.yaml(
  list(db = list(dbname = "",
                 user = "",
                 password = ""),
       filenames = list(boxscores = "",
                        team_games = ""),
       models = c("", ""),
       paths = list(ingestion_path = "",
                    boxscores_path = "",
                    team_games_path = ""),
       tables = list(boxscores_table = "",
                     team_games_table = ""))
  )
}
jimtheflash/nbastatstools documentation built on May 23, 2019, 4:01 a.m.