ComenzarEmpieza gratis

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 ejercicio forma parte del curso

Joining Data with data.table in R

Ver curso

Instrucciones del ejercicio

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

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Set the keys
___
___

# Inner join
___
Editar y ejecutar código