НачатьНачать бесплатно

Multi-column keys

Two new datasets are available in your R session:

  • subjects: contains the subject each student is taking each semester this year
  • locations: contains the room allocations for each subject

Your goal is to build a new data.table with the locations of each subject for each student.

Это упражнение является частью курса

Joining Data with data.table in R

Посмотреть курс

Интерактивное практическое упражнение

Попробуйте выполнить это упражнение, дополнив этот пример кода.

# Right join
subjects[___]
Редактировать и запускать код