
As the #rstats course material is not public (yet?) or available as online training (yet?), I thought I am sharing some slides from the deck. The course covers all steps of the #DataScience workflow as featured in @hadleywickham's fantastic #R4DS 📕
The fundamentals of R includes: * values * assignments and objects * functions * data types * unknown values * vectors * factors * packages * tabular data * data generation * data import
... tibbles as modern implementation of data frames, retrieving basic summaries of data sets, potential problems, and discussed resources to find help.
Time for session 2: "Data Wrangling with the {tidyverse}*" This time with slides in better quality. * I know it's a bit too broad but as we use multiple packages such as dplyr, tidyr, forcats, and stringr (and strictly speaking tibble as well) I went for this session name.
Some analysis and #dataviz might be possible without (re)shaping and/or summarizing your data—especially also thanks to #ggplot2's powerful stat functionality—but often we need to prepare our data for the next steps. You can do it in #Excel but we, of course, use #rstats
Of course, we start with THE main package for data wrangling in the #tidyverse collection: the #dplyr 📦 and its main verbs (Credit to @allison_horst for her lovely illustrations that are featured across all sessions 🙌)
I always share the equivalent #baseR code (not everyone loves the #tidyverse 😱) and show the basic and a bit more advanced usage of the main verbs--and of course group_by and how it gives you SUPERPOWER!! 🦹♀️🦸♂️
In the following, a few more functions (and #tidyverse packages) that help when cleaning data (feel free to share your favorites, those are the ones I am using regularly)
#forcats: suddenly working with factors became one of my favorite tasks in R! 🤯 And it's so important in combination with #ggplot2 as well:
Follow us on Twitter
to be informed of the latest developments and updates!
Follow @tivitikothreadYou can easily use to @tivitikothread bot for create more readable thread!