Advanced Data Wrangling with dplyr: Part I
Details
Let's move beyond basic skills and dig deeper into more advanced techniques for data wrangling using dplyr. In this session we will learn about: Selecting columns based on partial column names
Selecting columns based on regex
Selecting columns by their data type
Selecting columns by logical expressions
Re-ordering columns:
Column names
Renaming columns
Reformatting all column names
Row names to column
Mutating several columns at once
Mutate_all
Mutate_if
Mutate_at to change specific columns
Working with discrete columns
Recoding discrete columns
Creating new discrete column (two levels)
Creating new discrete column (multiple levels)
Splitting and merging columns
Bringing in columns from other data tables
Spreading and gathering data
Turning data into NA
Thank you Susan Baert from R-Ladies Brussels for creating this tutorial.
• What to bring
Charged laptop with R, Rstudio and Tidyverse package ready to go.
• Important to know
You must adhere to our code of conduct. https://github.com/rladies/starter-kit/wiki/Code-of-Conduct