Week 4 - Importing and recoding data
Importing and recoding data 📉
Tasks
- Watch the videos
- Complete the readings
- Complete the assignments
Videos
You can access the course videos on YouTube. You can also find a playlists for all course videos on YouTube here.
No. |
Title |
YouTube |
Slides |
Length |
|
---|---|---|---|---|---|
01 | Data types | 30:29 | |||
02 | Data classes | 19:28 | |||
03 | Importing data | 32:08 | |||
04 | Recoding data | 20:22 |
Class Activities
Activity |
Title |
Date |
---|---|---|
Projects | Project Brainstorming | Tue, 8 Feb |
Review | Types, Classes, Importing | Thu, 10 Feb |
Assignments
Assignment |
Title |
Due |
---|---|---|
Due this week | ||
Lab 03 | Nobel laureates | Wed, 9 Feb, 23:59 EST |
HW 03 | Road Traffic Accidents | Fri, 11 Feb, 23:59 EST |
Project | Team contract | Sat, 12 Feb, 23:59 EST |
Q 03 | Data wrangling and visualization | Sun, 13 Feb, 23:59 EST |
Due next week | ||
HW 04 | Majors | Fri, 18 Feb, 23:59 EST |
Project | Proposal | Sat, 19 Feb, 23:59 EST |
Q 04 | Coding style | Sun, 20 Feb, 23:59 EST |
If you’re having difficulty accessing your HW or Lab repo, see troubleshooting advice here.
Readings
📖 | R4DS::Chp 11 - Data import | Required |
📖 | R4DS::Chp 15 - Factors | Required |
📖 | R4DS::Chp 16.1 - 16.3 - Dates and times | Required |
Code-along
The data come from TidyTuesday. TidyTuesday is a weekly social data project for the R community. Read more about TidyTuesday here.
You can find starter code for this session on RStudio Cloud, in the project titled Code Along 02 - College tuition, diversity, and pay.
Interactive R tutorials
The following are interactive R tutorials, designed to give you more practice with R. These are optional, but they will show up in your next homework assignment, so you should gain familiarity with it. If you’re struggling with any of the topics covered this week, we strongly recommend you work through the interactive tutorials.
What should I major in? | Related to HW 04 |