Package website: https://ppbds.github.io/misc.tutorials/
misc.tutorials is a collection of interactive tutorials covering R for Data Science essentials and US Census data analysis. Makes extensive use of the tools in the tutorial.helpers package.
Install the development version from GitHub with:
remotes::install_github("PPBDS/misc.tutorials")The recommended way to launch the tutorials is with the R Tutorials extension for VS Code, which lists every installed tutorial and lets you start one with a click.
As a backup, you can launch a tutorial from the R console with
learnr::run_tutorial(), providing the short name of the tutorial and
the package name.
learnr::run_tutorial(name = "01-r4ds-1",
package = "misc.tutorials")
These tutorials cover material from R for Data Science
(2e) (R4DS) by Hadley Wickham, Mine
Çetinkaya-Rundel, and Garrett Grolemund. There are five related
tutorials in the package: r4ds-1, r4ds-2, r4ds-3, r4ds-4, and
r4ds-5. Different tutorials cover different chapters from the book as
follows.
Data import Data visualization Data transformations Data tidying
Spreadsheets Layers Exploratory data analysis Communication
Databases Logical vectors Numbers Strings Regular expressions
Arrow Factors Dates and times Missing values Joins
Hierarchical-data Web scraping Functions Iterations
The organization of the tutorials is not the same as the organization of R4DS. Instead, each tutorial begins by sourcing data from a different sort of storage technology and then working with that data.
We have one tutorial, census, covering material from Analyzing US
Census Data: Methods, Maps, and Models in
R by Kyle Walker.