Data Analysis with R Course

Free online course · 7 lessons

R and RStudio, visualization with ggplot2, transformation with dplyr, tidy data and import, strings, factors and dates, joins and iteration, and reporting with Quarto. After it the learner can import, tidy, transform, visualize and report data reproducibly in R.

What you need first

By Studeli

Start with lesson 1

What you will learn in 7 lessons

Every lesson includes all nine study tools

  • Study Guide
  • Summary
  • Walkthroughs
  • Practice Questions
  • Flashcards
  • Explain It
  • Key Terms
  • Cheat Sheet
  • Concept Map
  1. R and RStudio

    Start here

    Use R and RStudio to create objects, call functions, install packages, and organize work in scripts and projects.

    6 learning goals
    1. 1.Get started with R and RStudio
    2. 2.Create objects and call functions
    3. 3.Work with vectors and data types
    4. 4.Extend R with packages and the tidyverse
    5. 5.Organize reproducible work in scripts and projects
    6. 6.Find help and solve problems
  2. Build plots layer by layer with ggplot2, mapping variables to aesthetics and using geoms, facets, scales and themes for exploration and communication.

    5 learning goals
    1. 1.Build plots with the grammar of graphics
    2. 2.Map variables to aesthetics and choose geoms
    3. 3.Use statistical transformations and position adjustments
    4. 4.Control facets, scales and coordinate systems
    5. 5.Communicate with labels, annotations, themes and saved figures
  3. Filter, arrange, select, mutate and summarize data frames with dplyr verbs and the pipe, including grouped summaries.

    5 learning goals
    1. 1.Work with dplyr verbs and the pipe
    2. 2.Choose and order the rows you need
    3. 3.Create and organize columns
    4. 4.Summarize data by groups
    5. 5.Answer questions with complete pipelines
  4. Import data from files, spreadsheets and databases, and reshape it into tidy form with tidyr.

    5 learning goals
    1. 1.Organize data in tidy form with tidyr
    2. 2.Import text files reliably with readr
    3. 3.Get data out of spreadsheets
    4. 4.Query databases from R
    5. 5.Handle large datasets with Arrow and Parquet
  5. Clean text with stringr and regular expressions, recode categorical data with forcats, handle dates with lubridate, and treat missing values deliberately.

    5 learning goals
    1. 1.Work with logical and numeric vectors
    2. 2.Clean and reshape text with stringr and regular expressions
    3. 3.Recode categorical data with factors and forcats
    4. 4.Work with dates and times using lubridate
    5. 5.Treat missing values deliberately
  6. Combine tables with dplyr joins, write reusable functions, and apply them across columns and files with iteration.

    5 learning goals
    1. 1.Combine tables with keys and mutating joins
    2. 2.Filter rows and match on conditions with joins
    3. 3.Write your own functions
    4. 4.Repeat work across columns and files with iteration
    5. 5.Read and write base R code
  7. Carry out an exploratory data analysis in R and communicate it in reproducible Quarto documents, slides and dashboards.

    6 learning goals
    1. 1.Explore a dataset by asking questions
    2. 2.Explore how variables vary together
    3. 3.Write reproducible reports in Quarto documents
    4. 4.Choose output formats: documents, slides and dashboards
    5. 5.Keep the analysis reproducible
    6. 6.Communicate findings to an audience

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started