Just a few notes here about the R Practice rmd file, as I review it for module QA in the education_modules repo.
janitor::clean_names() worked fine for me without running tolower first; maybe there's been an update to clean_names in the last couple months.
- For the section Recoding Logical Variables, we can do that with
mutate and across (e.g. https://dplyr.tidyverse.org/reference/across.html) instead of lapply, which may be more in line with the rest of the transformation stuff we teach
Also, this isn't something to change for this script, obviously, but I'm realizing I think we probably need an R Basics: EDA module (and corresponding python module). Keeping to Stephan's tradition, I suppose we would adapt https://r4ds.had.co.nz/exploratory-data-analysis.html for this purpose.
Just a few notes here about the R Practice rmd file, as I review it for module QA in the education_modules repo.
janitor::clean_names()worked fine for me without runningtolowerfirst; maybe there's been an update toclean_namesin the last couple months.mutateandacross(e.g. https://dplyr.tidyverse.org/reference/across.html) instead oflapply, which may be more in line with the rest of the transformation stuff we teachAlso, this isn't something to change for this script, obviously, but I'm realizing I think we probably need an R Basics: EDA module (and corresponding python module). Keeping to Stephan's tradition, I suppose we would adapt https://r4ds.had.co.nz/exploratory-data-analysis.html for this purpose.