From 7c2262b27985c9bb8ce16193c2c85dc319a2278f Mon Sep 17 00:00:00 2001 From: Elizabeth Humphries Date: Mon, 7 Oct 2024 13:24:25 -0400 Subject: [PATCH] add CES variable explanations --- .../lab/Esquisse_Data_Visualization_Lab_Key.Rmd | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/Esquisse_Data_Visualization/lab/Esquisse_Data_Visualization_Lab_Key.Rmd b/modules/Esquisse_Data_Visualization/lab/Esquisse_Data_Visualization_Lab_Key.Rmd index d85490eb..6ad3b314 100644 --- a/modules/Esquisse_Data_Visualization/lab/Esquisse_Data_Visualization_Lab_Key.Rmd +++ b/modules/Esquisse_Data_Visualization/lab/Esquisse_Data_Visualization_Lab_Key.Rmd @@ -19,9 +19,17 @@ library(dasehr) ### 1.1 -Try creating a plot in `esquisse` using the `calenviroscreen` data from the `dasehr` packaged. This dataset has a lot of variables, so first run the below code to subset it so that you're only working with these variables: `CES4.0Percentile`, `Asthma`, and `ChildrenPercLess10`. We will also categorize `CES4.0Percentile` into three categories (high, middle, and low) to make visualization a little easier! +Try creating a plot in `esquisse` using the `calenviroscreen` data. This dataset has a lot of variables, so first run the below code to subset it so that you're only working with these variables: `CES4.0Percentile`, `Asthma`, and `ChildrenPercLess10`. We will also categorize `CES4.0Percentile` into three categories (high, middle, and low) to make visualization a little easier! + +`CES4.0Percentile`: a measure of how much pollution people in a census tract experience, relative to the other census tracts in California + +`Asthma`: Age-adjusted rate of emergency department visits for asthma + +`ChildrenPercLess10`: estimates of the percent per census tract of children under 10 years old ```{r} +ces <- read_csv(file = "https://daseh.org/data/CalEnviroScreen_data.csv") + ces_sub <- select(calenviroscreen, c("CES4.0Percentile", "Asthma", "ChildrenPercLess10")) ces_sub <- ces_sub %>%