From 202a226cf388b6dd52d4ac87023260e3764eec6c Mon Sep 17 00:00:00 2001 From: Nat DeFries <42820733+nmdefries@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:51:10 -0700 Subject: [PATCH] define case_num var even when pulling data from epidatasets --- vignettes/articles/smooth-qr.Rmd | 2 +- vignettes/articles/symptom-surveys.Rmd | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vignettes/articles/smooth-qr.Rmd b/vignettes/articles/smooth-qr.Rmd index 801934e8..a73ffd22 100644 --- a/vignettes/articles/smooth-qr.Rmd +++ b/vignettes/articles/smooth-qr.Rmd @@ -97,7 +97,7 @@ state cases and deaths. This sample data ranges from Dec. 31, 2020 to Dec. 31, 2021. ```{r} -edf <- covid_case_death_rates +edf <- epidatasets::covid_case_death_rates ``` We will set the forecast date to be November 30, 2021 so that we can produce diff --git a/vignettes/articles/symptom-surveys.Rmd b/vignettes/articles/symptom-surveys.Rmd index af692726..cf801357 100644 --- a/vignettes/articles/symptom-surveys.Rmd +++ b/vignettes/articles/symptom-surveys.Rmd @@ -155,6 +155,7 @@ library(purrr) library(epipredict) library(recipes) +case_num <- 200 z <- epidatasets::county_smoothed_cli_comparison ```