![Psyduck, the yellow duck Pokémon, with question marks around his head.](https://media.giphy.com/media/ygRvBA8SWudws/giphy.gif)
Psyduck hurt itself in its confusion (via Giphy)
You teach me and I’ll teach you
I wrote in a recent post about some training materials I wrote for teaching R Markdown.
Now I’m sharing another thing I made: Beginner R and RStudio Training (featuring Pokémon!). It’s an introduction to R, RStudio, R Projects, directory structure and the tidyverse. It uses Pokémon Go1 data that I collected myself.2
You can:
- visit the page where the training is hosted
- look at the source on GitHub
- access a ‘follow along’ R script prepared by a colleague
It’s pretty rudimentary in content and design but it got the job done. I’m unlikely to update it any time soon. Feel free to use all of it, parts of it, or even fork it on GitHub and improve it.
Other materials
Why didn’t I just use materials that are already out there? Well, I find it easier to teach material that I know well and that’s particularly true for things I’ve written myself. Also I couldn’t find any Pokémon-themed guides, so it was obviously inevitable.
Below are some other training materials to consider. I’m certain some of these will be out of date over time, or better things will emerge, but I’m unlikely to come back and update this post in the meantime.
Starting with R and RStudio
- Software Carpentry’s Programming with R
- Swirl teaches you R interactively, from within RStudio itself
- Further information about R Projects is available from the RStudio Support pages
- Starting data analysis/wrangling with R: Things I wish I’d been told by Stian Håklev
- Basics of ‘tidy’ data and the ‘tidyverse’ of packages
Going further
- Data wrangling, exploration, and analysis with R from STAT 545 at the Uni of British Columbia
- Online learning from RStudio: R Programming, Shiny, R Markdown and Data Science
- An exhaustive Quora question with links to resources
Data Science in R
Getting help
- RStudio cheat sheets, including help with {readr}, {dplyr} and {ggplot2}
- Often it helps to produce a small reproducible example (a ‘reprex’) of your code if you run into trouble
- Getting help with R page of resources from RStudio
- Explore questions and answers tagged as
r
on StackOverflow
Gotta badly draw ’em all
I’m sure it didn’t escape your notice that I drew some stunning images for the training material. Here’s a gallery.
Add me as a friend on Pokémon Go. Friend code:
9572 6464 0472
.↩The data are available in my ‘draytasets’ GitHub repository and in the
pkmn_go
function in my {dray} package.↩