Making a data package
13:30 - 15:00
Outline
- Anatomy of an R package
- Data cleaning and the
data-raw
folder - Documenting your data
- Checking your package
- Your package on GitHub and discussion on your package on CRAN
Slides
Files for demo
- Demo steps: https://rstudio-conf-2022.github.io/teach-ds/materials/07-data-package/data-package-notes.md
weather.csv
: https://rstudio-conf-2022.github.io/teach-ds/materials/07-data-package/weather.csvcities.csv
: https://rstudio-conf-2022.github.io/teach-ds/materials/07-data-package/cities.csvusweather.png
: https://rstudio-conf-2022.github.io/teach-ds/materials/07-data-package/usweather.png
Exercises
Exercise prompts for this session are embedded in the slides since they only involve tasks to be completed in the package we’re developing.