Returns the configuration most recently built by polis_config() in this
session – the object every cleaner and orchestrator defaults to. If none has
been built yet, a default polis_config() is created, registered, and
returned, so the getter always yields a usable config.
See also
polis_config(), which sets the active config.
Examples
polis_config(start_year = 2018)
#>
#> ── POLIS pipeline configuration ────────────────────────────────────────────────
#> Start year: 2018
#> Regions: "AFRO", "AMRO", "EMRO", "EURO", "SEARO", and "WPRO"
#> Column-order groups: "id", "iso", "country", "geo_group", "adm_name",
#> "adm_guid", "coord", "onset_date", "onset_month", "onset_year", "age",
#> "core_dates", "classification", "indicators", and "dates" -> other
#> Synonyms: FALSE
#> Population: FALSE
#> WorldPop: FALSE
#> Population source: "reconciled"
#> Shape: FALSE
#> Inputs: "<none>"
#> Output dir: "<none>"
#> SIA cache: "<none>"
polis_active_config()$start_year
#> [1] 2018
