parent
6cc6b88438
commit
2674b870ae
|
@ -463,7 +463,7 @@ knitr::include_graphics("screenshots/scraping-imdb.png", dpi = 300)
|
||||||
This data has a clear tabular structure so it's worth starting with `html_table()`:
|
This data has a clear tabular structure so it's worth starting with `html_table()`:
|
||||||
|
|
||||||
```{r}
|
```{r}
|
||||||
url <- "https://www.imdb.com/chart/top"
|
url <- "https://web.archive.org/web/20220201012049/https://www.imdb.com/chart/top/"
|
||||||
html <- read_html(url)
|
html <- read_html(url)
|
||||||
|
|
||||||
table <- html |>
|
table <- html |>
|
||||||
|
|
Loading…
Reference in New Issue