Skip to contents

Creates a minimal configuration for quickly testing the nowcast pipeline. Uses reduced draws, a single state, and fast settings to enable rapid iteration during development.

Usage

nowcast_config_test(location = "ca", draws = 10L, output_dir = NULL, ...)

Arguments

location

Character. Single location code to test with. Default is "ca" (California).

draws

Integer. Number of draws (reduced for speed). Default is 10.

output_dir

Character. Output directory. Default is NULL (no file output, just returns results).

...

Additional arguments passed to nowcast_config().

Value

A nowcast_config object with test-friendly defaults.

Examples

# Quick test config
config <- nowcast_config_test()
#>  Creating test config: "ca", 10 draws
print(config)
#> 
#> ── Nowcast Configuration ───────────────────────────────────────────────────────
#> • max_delay: 4
#> • scale_factor: 2
#> • prop_delay: 0.5
#> • uncertainty_model: "negative_binomial"
#> • draws: 10
#> • location: "ca"
#> • output_dir: "NULL (no file output)"

# Test with a different state
config <- nowcast_config_test(location = "ny")
#>  Creating test config: "ny", 10 draws

# Test with file output
config <- nowcast_config_test(output_dir = "test_output")
#>  Creating test config: "ca", 10 draws