Skip to content
R for the Rest of Us Logo

R in 3 Months (Spring 2025)

Week 8 Project Assignment

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.

Assignment example:

Your Turn

For this week's project assignment, we want you to tidy your data using
the various functions you have learned in the last two weeks. You should do this in an R script file, saving your clean and tidy data as an RDS file. Essentially, we want you to do the same thing that David shows in
the Bring It All Together (Advanced Data Wrangling) lesson, but for your data.

Here are the steps for this week's assignment:

  1. Open your project from the Week 4 assignment.

  2. Open your R script and edit it to include a section called "Advanced Data Wrangling"
    ⚠️ If you are starting with a new dataset, feel free to create a new R script!

  3. Add the three comments below on your script:

# Check for tidy principles (each columns is a variable, each cell is a single value, every row is an observation) 

# Identify repetitive tasks and create a function 

# Export clean data into the data folder

4.Add code below each of these three comments to complete each of these tasks. Make sure you can export your cleaned data into your data folder.

5.Once you've completed your work, compress your project_assignment folder and upload it to the form below.

6.If you have any specific questions, add those in the form below as well.

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

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

Course Content

127 Lessons