/tutorial-tidyverse

:milky_way: Presentation on the tidyverse in R to clean and manipulate data

Primary LanguageHTML

tutorial-tidyverse

Presentation on the tidyverse in R to clean and manipulate data

Table of Contents

Prerequisites

  • R
  • rmarkdown (to compile presentation)
  • tidyverse

About Data

Data is a modified version found on @laderast's workshop on exploratory data analysis, ShinyEDA.

Compile Presentation

make

Packages within tidyverse

  • broom (convert statistical objects to tidy data)
  • dplyr (easily tidy data)
  • forcats (work with categorical variables)
  • ggplot2 (create elegant data visualizations)
  • haven (import and export SPSS, Stata, and SAS)
  • httr (work with URLs and HTTP)
  • hms (pretty time of day)
  • jsonlite (robust JSON parser)
  • lubridate (deal with dates easier)
  • magrittr (pipe character)
  • modelr (modeling functions)
  • purrr (functional programming)
  • readr (read tabular data)
  • readxl (read Excel data)
  • stringr (manipulate strings)
  • tibble (simple data frames)
  • rvest (web scrapping tools)
  • tidyr (easily tidy data)
  • xml2 (parse XML files)

Repository Structure

.
├── data
│   └── all_data.xlsx
├── images
│   ├── cover.png
│   ├── data-science-communicate.png
│   ├── data-science-explore.png
│   ├── data-science.png
│   ├── data-science-wrangle.png
│   ├── datasetA.png
│   ├── datasetB.png
│   ├── rstudio-hex-purrr.png
│   ├── tidy-data.png
│   └── tidy-logos.png
├── Makefile
├── R
│   ├── broom.R
│   └── purrr.R
├── README.md
├── tidyverse.html
├── tidyverse.Rmd
└── tutorial-tidyverse.Rproj

3 directories, 18 files

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.