Skip to content

Instantly share code, notes, and snippets.

@toyeiei

toyeiei/.r

Created Jan 16, 2019
Embed
What would you like to do?
rvest tutorial 3
# select year
imdb %>%
html_nodes(".text-muted.unbold") %>%
html_text()
# select rating
imdb %>%
html_nodes(".ratings-imdb-rating strong") %>%
html_text()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment