library(tidyverse)
library(rvest)
Scraping
<- read_html("https://www.imdb.com/title/tt2294629")
frozen <- html_nodes(frozen, ".gJhRzH")
cast html_text(cast)
Reviews
<- read_html("https://www.imdb.com/title/tt2294629/reviews")
frozen_reviews <- html_nodes(frozen_reviews, ".show-more__control")
all_reviews <- tibble(text = html_text(all_reviews) %>% unlist())
reviews
<- reviews %>%
bigrams unnest_tokens(words, text, token = "ngrams", n = 2)