Skip to content
R for the Rest of Us Logo

This lesson is locked

Get access to all lessons in this course.

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Your Turn

Complete the count sections of the data-wrangling-and-analysis-exercises.Rmd file.

Learn More

General Data Wrangling and Analysis Resources

Because most material that discusses data wrangling and analysis with the dplyr packges does so in a way that covers all of the verbs discussed in this course, I have chosen not to separate them by lesson. Instead, here are some helpful resources for learning more about all of the tidyverse verbs discussed in this course:

Chapter 5 of R for Data Science

RStudio Cloud primer on working with data

Tidyverse for Beginners by Danielle Navarro

Learning Statistics with R by Danielle Navarro

Introduction to the Tidyverse by Alison Hill

A gRadual intRoduction to data wRangling by Chester Ismay and Ted Laderas

Working in the Tidyverse by Desi Quintans and Jeff Powell

Christine Monnier video tutorials on dplyr

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Jodi Fender

Jodi Fender

April 2, 2021

Hi - I had this working with drop.na (x), but wanted to play around with drop.na for multiple variables if that could be useful in the future. I tried it a couple of ways, but didn't get it to work and then something went wrong and R restarted, so then I loaded packages again, but am still having issues with: Error in drop.na(., education) : could not find function "drop.na" Thanks for any tips!

Jodi Fender

Jodi Fender

April 2, 2021

drop_na! ack. Sorry... you can disregard question, except I'll try to see about dropping na from multiple variables at once. You could just delete my comment if you'd like in the moderation review process. :)

David Keyes

David Keyes

April 2, 2021

No worries! I'll leave it there because it may come up for others. As you may have realized, tidyverse functions tend to use _ between words while base R uses .

Tatiana Bustos

Tatiana Bustos

July 27, 2022

I accidentally put "education" instead of education and the output returned 1 row of 1000. Is this a potential way to use the count function for qualitative variables? Im not sure I understand why there was 1 row for "education" and 1000 counts. Just curious!

David Keyes

David Keyes

July 28, 2022

I'm not quite sure what you mean. Could you paste your code in so I can see?