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

Setting keys

The netflix and imdb data.tables are available in your workspace. Your goal is to set the keys for both data.tables so that you can perform a series of joins without needing to specify the join keys each time.

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

Joining Data with data.table in R

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

Инструкции к упражнению

  • Set title as the key of both netflix and imdb using setkey() (docs).
  • Inner join imdb to netflix without specifying the on argument.

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

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

# Set the keys
___
___

# Inner join
___
Редактировать и запускать код