Skip to contents

epitraxr_config creates a list of configuration options used for generating reports.

Usage

epitraxr_config(
  current_population = 1e+05,
  avg_5yr_population = 1e+05,
  rounding_decimals = 2,
  generate_csvs = TRUE
)

Arguments

current_population

Integer. Defaults to 100,000.

avg_5yr_population

Integer. Defaults to 100,000.

rounding_decimals

Integer. Defaults to 2.

generate_csvs

Logical. Defaults to TRUE.

Value

A named list with 'keys' corresponding to config options.

Examples

epitraxr_config(
  current_population = 56000,
  avg_5yr_population = 57000,
  rounding_decimals = 3,
  generate_csvs = FALSE
)
#> $current_population
#> [1] 56000
#> 
#> $avg_5yr_population
#> [1] 57000
#> 
#> $rounding_decimals
#> [1] 3
#> 
#> $generate_csvs
#> [1] FALSE
#>