Hey there!
This is a public GitHub repository to share the files needed for the Kansas State University 2021 AGSA R Workshop - Data wrangling and iteration, taught on November 16th by @leombastos.
The workshop is divided into 2 main sessions (1h/session):
- Data wrangling using popular functions like
clean_names()
filter()
mutate()
case_when()
pivot_longer()
andpivot_wider()
group_by()
andsummarise()
select()
- the piper operator
%>%
- Iteration using the
map()
andmap2()
functions
-
Download this repository (click on the green "Code" button above and select "Download ZIP")
-
Unzip the repository, launch the RStudio project (by clicking on the "2021_rworkshop_wrangling.Rproj" file).
-
On RStudio, go to the "Files" tab (lower right), click on folder "markdown", and open file
- "session1_partial.Rmd" for data wrangling
- "session2_partial.Rmd" for iteration
-
You can code along with us by watching the following YouTube videos: