ComeçarComece de graça

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.

Este exercício faz parte do curso

Joining Data with data.table in R

Ver curso

Instruções do exercício

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

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Set the keys
___
___

# Inner join
___
Editar e executar o código