-
-
Save toyeiei/2646da6b0ee568400ed011d3e055a1e0 to your computer and use it in GitHub Desktop.
rvest tutorial 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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