diff --git a/modules/Data_Input/Data_Input.Rmd b/modules/Data_Input/Data_Input.Rmd index b0a84462..d847cc36 100644 --- a/modules/Data_Input/Data_Input.Rmd +++ b/modules/Data_Input/Data_Input.Rmd @@ -117,7 +117,7 @@ knitr::include_graphics("images/Data_Input_new_project_topright.png") CO Heat-related ER visits dataset: -We're going to load a dataset from the Colorado Environmental Public Health Tracking Program. This dataset has age-adjusted visit rates and total number of visits for all genders by Colorado county for 2011-2023. +We're going to load a dataset from the Colorado Environmental Public Health Tracking Program. This dataset has age-adjusted visit rates and total number of visits for all genders by Colorado county for 2011-2022. * Check out the data at: https://coepht.colorado.gov/heat-related-illness diff --git a/modules/Data_Summarization/lab/Data_Summarization_Lab_Key.Rmd b/modules/Data_Summarization/lab/Data_Summarization_Lab_Key.Rmd index a4e693b0..294a3f24 100644 --- a/modules/Data_Summarization/lab/Data_Summarization_Lab_Key.Rmd +++ b/modules/Data_Summarization/lab/Data_Summarization_Lab_Key.Rmd @@ -41,6 +41,9 @@ What was the total population in the dataset based on the 2010 census? (use `sum ```{r 1.2response} ces |> pull(TotalPop) |> sum() + +# Alternative +ces |> summarize(popSum = sum(TotalPop)) ``` ### 1.3