Back to Course

R for Busy People (Cohort-0)

0% Complete
0/0 Steps
  1. Installing R and RStudio
    1 Lesson
    |
    2 Quizzes
  2. The RStudio IDE
    1 Lesson
    |
    2 Quizzes
  3. Coding Basics
    1 Lesson
    |
    2 Quizzes
  4. Assignment | Workshop 1
    1 Quiz
  5. Data dive: Ebola in Sierra Leone
    1 Lesson
    |
    2 Quizzes
  6. RStudio Projects
    1 Lesson
    |
    2 Quizzes
  7. Workshop 2
    1 Lesson
    |
    1 Quiz
  8. Using R Markdown
    1 Lesson
    |
    2 Quizzes
  9. Data classes & structures (deprec)
    2 Lessons
  10. Workshop 3
    1 Lesson
    |
    1 Quiz
  11. Select & rename
    1 Lesson
    |
    3 Quizzes
  12. Filter
    1 Lesson
    |
    3 Quizzes
  13. Workshop 4
    1 Quiz
  14. Mutate
    1 Lesson
    |
    3 Quizzes
  15. Workshop 5
    1 Lesson
    |
    1 Quiz
  16. Conditional mutate
    1 Lesson
    |
    3 Quizzes
  17. Group by and summarize
    1 Lesson
    |
    2 Quizzes
  18. Workshop 6
    1 Lesson
    |
    1 Quiz
  19. Other grouped operations
    1 Lesson
    |
    2 Quizzes
  20. Workshop 7
    1 Lesson
    |
    1 Quiz
  21. Intro to ggplot2
    1 Lesson
    |
    2 Quizzes
  22. Scatter plots and smoothing
    1 Lesson
    |
    2 Quizzes
  23. Workshop 8
    1 Lesson
    |
    1 Quiz
  24. Lines, scales, and labels
    1 Lesson
    |
    2 Quizzes
  25. Overview of the EpiGraphHub web platform
  26. Data exploration on EpiGraphHub
    1 Quiz
  27. Workshop 9
    1 Lesson
    |
    1 Quiz
  28. Workshop 10
    1 Lesson
    |
    1 Quiz
  29. Final project
    1 Lesson
    |
    1 Quiz
  30. Getting help
    1 Lesson
    |
    1 Quiz
  31. Quiz contributions
    16 Lessons
Topic 11, Lesson 1
In Progress

Lesson | Select & rename

Topic Progress
0% Complete

Lesson code

To work on the practice questions in the data wrangling module, you need to download the project folder for the lesson. Click on one of the buttons below to download this folder as a zip file.

Click the first option if you are working on RStudio on your local computer. Click the second option If you are using RStudio cloud.

If you are working on your local computer, you should then:

  • Unzip the folder
  • Double-click on the Rstudio Project file to open the project in RStudio
  • Open the Rmd lesson from the Files tab in RStudio, and follow along!

If you are working on RStudio cloud, you should then:

  • Start a new project on RStudio Cloud
  • Upload the zip file you just downloaded to the Files tab of RStudio.
  • Open the Rmd lesson, again in the Files tab in RStudio, then follow along!

Lesson notes

The written guide below is an accompaniment to the lesson video. You may read through it if you prefer written tutorials to video content.

Subscribe
Notify of
guest

6 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Margaret

Hello, I am kindly inquiring why I am unable to see the table in the console to answer the questions in the quiz for the mock data set. I keep getting this but no table

> mock_data_set %>% select(ends_with("_a"))
# A tibble: 10 × 0
Joy

Hi Margaret, thanks for including your code and the output from the console. This output: # A tibble: 10 × 0 is telling us that the table you have generated contains 10 rows and 0 columns. It looks like no columns were selected. Is it possible that none of the column names in… Read more »

Sara

.

Last edited 1 year ago by Sara
zachary

Note for terminology, “infected with COVID-19” isn’t quite right.

As far as the rename() function, it also to make it easier to select with “startswith” or “endswith” if you want to categorize certain variables.

Saifeldin

Thank you very much Laure for this video lesson. I think it was quite clear and I’m glad you do not answer the practice questions in the video, as this gives us more incentive to test it ourselves 🙂 A couple of points: In minute ~2, I think you mix up rows with… Read more »

Last edited 1 year ago by Saifeldin
Kene David

Thank you Saif! We looked into the issue with the answered questions, and are unsure of the source. But should be fixed now. (Note that the *first* question in each of those lessons is answered).

And we’ve added a pop-up correction at 02:03. Thanks for catching that!

6
0
Questions or comments?x