Chapter 4 Beyond the Basics
4.1 Git & R
We will not get into the details of git. But - RStudio has a git plugin and the book Happy git with R will git you all set.
Alternatively, you can use gist.github.com to share & store code snippets, notes, thoughts and blog posts.
4.2 Examples of R in the wild
Here are some examples of R.
- Research compendium:
Data Journalism: Roger Federer: 20 years, 20 titles by SRF Data.
Blogpost: The evolution of a ggplot by Cederic Scherer.
Fun stuff like creating memes by Danielle Navarro.
Blogpost on replication: Analysing the mouse microbiome autism data by Thomas Lumley.
Web application with Shiny: iSEE by Kevin Rue, Charlotte Soneson, Federico Marini and Aaron Lun (Winner of the Shiny Contest 2019).
4.3 Neat packages & functions
Data import
data.table
: (Fast) alternative toreadr
.datapasta
: Copy + paste unconventional tables.fabricatr
: Imagine your data before you collect it- Practical recommendations for organizing spreadsheet data in a way that both humans and computer programs can read: Data Organization in Spreadsheets by Broman & Woo (2018).
Data manipulation
data.table
: (Fast) alternative todplyr
.janitor
: data cleaning.