diff --git a/course-materials/application-exercises/ae-01b-covid/covid.qmd b/course-materials/application-exercises/ae-01b-covid/covid.qmd index 6d063f8f..f02aa97d 100644 --- a/course-materials/application-exercises/ae-01b-covid/covid.qmd +++ b/course-materials/application-exercises/ae-01b-covid/covid.qmd @@ -93,7 +93,7 @@ country_data <- coronavirus %>% mutate( days_elapsed = as.numeric(date - min(date)), end_date = if_else(date == max(date), TRUE, FALSE), - end_label = if_else(end_date, country, NULL) + end_label = if_else(end_date, country, NA) ) %>% # ungroup ungroup()