Teaching Data Sharing through R Data Packages
summary
An instructor converts course datasets into PDX Trees and a demo jeans dataset and teaches students to build R data packages using devtools, usethis and roxygen, plus helpers like use_readme_rmd() and use_vignette(). Documentation includes README, help files and vignettes modeled on palmerpenguins. After four weeks of class work and four class periods devoted to the project, students produce packages (and hex stickers), their interpretations of plots improve markedly, and the first package takes longer than a three‑hour train ride to complete.
AI-written summary · about
chapters (7)
- 0:00Teaching data sharing
- 3:19Context in data analysis
- 5:50Context with R data packages
- 8:02Teaching data packages
- 11:11Documenting data in R
- 14:47Advice on R data packages
- 17:38Q&A
related talks
05mThe People of Posit: Bringing Personality to R Packages
19mIt's a Great Time to be an R Package Developer!
29mGrammars of Data: lessons from ~20 years of the tidyverse
20mBuilding sustainable open-source ecosystems: Lessons from the #rstats community and an NSF grant
11mArt of R Packages: Forging Community with Hex Stickers
16mWhat they forgot to teach you about starting a business with R
05mUSGS R Package Development: 10-year Reflections
19mCoding in a Cyclone: open-source and the public sector in the birthplace of R
