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.
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().
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