ComeçarComece de graça

Hoisting movie ratings

You've written a script to scrape data on your favorite movies from the Open Movie DataBase API. Now you want to process the JSON data to extract the Rotten Tomatoes rating for each movie. You've been given a data frame named movie_df which holds the JSON responses for five movies. You'll explore this data with unnest_wider() and unnest_longer() before switching to hoist().

The dplyr package has been pre-loaded for you.

Este exercício faz parte do curso

Reshaping Data with tidyr

Ver curso

Exercício interativo prático

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

movie_df %>% 
  # Unnest the movie column
  ___
Editar e executar o código