forked from johanneswaage/TidyThursday
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
87 lines (53 loc) · 4.47 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
title: "CBio Thursday - Introducing Tidyverse in R"
output: github_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## Before the Workshop
Due to time constraints, it is _super important_ that you make sure to go through the following _before_ the workshop:
### Internet Connectivity
Please note, the following internet connectivity options sorted according to descending speed/stability:
* DTU net if you are a student at DTU
* [Eduroam](https://www.eduroam.org/) if you are a student at another University
* DTU guest accounts (Arranged by CBIOvikings)
* Your phone as an access point
### Workshop with no internet access
It is possible to attend the workshop with no internet connection, however then
you _must_ have succesfully installed [the latest version of R](https://mirrors.dotsrc.org/cran/) and also the [RStudio IDE](https://www.rstudio.com/products/rstudio/download/#download). Note you must install `R` first and then `RStudio`.
### Workshop with internet access
If you have internet access, then go to [RStudio Cloud](https://rstudio.cloud/) and create an account and start a new project.
### Installing Tidyverse
Once you have either `R/RStudio` running on your laptop or created an RStudio Cloud account, you can install [Tidyverse](https://www.tidyverse.org/) like so:
```{r install_tidyverse, eval=FALSE}
install.packages("tidyverse")
```
Congratulations! That's it! Now you're ready for the workshop - See you soon! Please be on time, we _will_ start at 18.00
----- Do not proceed any further, we will go over the following at the workshop -----
## At the Workshop
### Workshop Schedule
* 18.00 - 18.10 1. Introduction to the Tidyverse philosophy and the pipe ([`magrittr`](https://cran.r-project.org/web/packages/magrittr/README.html)) [[Slides](http://htmlpreview.github.io/?https://github.com/leonjessen/TidyThursday/blob/master/01_introduction/lecture/introduction_presentation.html)]
* 18.10 - 18.40 2. Data structures ([`tibble`](https://cran.r-project.org/web/packages/tibble/README.html)) and reading in data ([`readr`](https://cran.r-project.org/web/packages/readr/README.html)) (10 minutes lecture, 20 minutes exercises, 5 minutes wrap up) [[Slides](http://htmlpreview.github.io/?https://github.com/leonjessen/TidyThursday/blob/master/02_readr/lecture/readr_presentation.html), [Exercises](https://github.com/leonjessen/TidyThursday/blob/master/02_readr/exercises/readr_exercises.md)]
* 18.40 - 18.45 2. Data structures and reading in data - Exercises wrap up
* 18.45 - 19.00 Break
* 19.00 - 19.40 3. Wrangling data ([`dplyr`](https://cran.r-project.org/web/packages/dplyr/readme/README.html)) (10 minutes lecture, 30 minutes exercises, 5 minutes wrap up) [[Slides](http://htmlpreview.github.io/?https://github.com/leonjessen/TidyThursday/blob/master/03_dplyr/lecture/dplyr_presentation.html), [Exercises](https://github.com/leonjessen/TidyThursday/blob/master/03_dplyr/exercises/dplyr_exercises.md)]
* 19.40 - 19.45 3. Wrangling data - Exercises wrap up
* 19.45 - 20.00 Break
* 20.00 - 20.40 4. Visualising data ([`ggplot`](https://cran.r-project.org/web/packages/ggplot2/readme/README.html)) (10 minutes lecture, 30 minutes exercises, 5 minutes wrap up) [[Slides](http://htmlpreview.github.io/?https://github.com/leonjessen/TidyThursday/blob/master/04_ggplot/lecture/ggplot_presentation.html), [Exercises](https://github.com/leonjessen/TidyThursday/blob/master/04_ggplot/exercises/ggplot_exercises.md)]
* 20.40 - 20.45 4. Visualising data - Exercises wrap up
* 20.45 - 21.00 Q&A and workshop wrap up [[Slides](http://htmlpreview.github.io/?https://github.com/leonjessen/TidyThursday/blob/master/05_wrapup/lecture/wrapup_presentation.html)]
## Resources
### Web
* [The R Project for Statistical Computing](https://www.r-project.org/)
* [RStudio](https://www.rstudio.com/)
* [RStudio Community](https://community.rstudio.com/)
* [RStudio Cloud](https://rstudio.cloud/)
### Cheat Sheets
* [RStudio IDE](https://github.com/rstudio/cheatsheets/raw/master/rstudio-ide.pdf)
* [Data Import with readr](https://github.com/rstudio/cheatsheets/raw/master/data-import.pdf)
* [Data Transformation with dplyr](https://github.com/rstudio/cheatsheets/raw/master/data-transformation.pdf)
* [Data Visualization with ggplot2](https://github.com/rstudio/cheatsheets/raw/master/data-visualization-2.1.pdf)
### Books
* [R for Data Science by Garrett Grolemund and Hadley Wickham](https://r4ds.had.co.nz/)
* [ModernDive - An Introduction to Statistical and Data Sciences via R](https://moderndive.com/)