On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Changing column data types
Basic data cleaning
Summary
13. Exercise 3

Instruction

Separate one column into two columns.

Exercise

Import the proper package and separate the subject_score columns into two columns, subject and score. Assign them to the students function.

Note: Use a colon (:) as the sep argument.

Stuck? Here's a hint!

Just import the tidyrpackage:

library(tidyr)

And use the following template to separate columns:

separate(
  students,
  col=...,
  sep=":",
  into=c(...))