get_hub_config: Get the value of setting from config file

View source: R/get_hub_config.R

get_hub_configR Documentation

Get the value of setting from config file

Description

Get the value of setting from config file

Usage

get_hub_config(setting, config_file = here::here("project-config.json"))

Arguments

setting

Setting for which to return the value. All values are returned in a list if missing.

config_file

Path to the config file

Examples

# Get config for European COVID-19 forecast hub
get_hub_config(config_file = "https://raw.githubusercontent.com/epiforecasts/covid19-forecast-hub-europe/main/project-config.json")


epiforecasts/forecasthubutils2 documentation built on July 1, 2023, 11:50 a.m.