Hi Community
Im want to scrape this page but the final df is empty. Maybe the xpath
is wrong.
library(rvest)
library(tidyverse)
url <- "https://av.cenargen.embrapa.br/avconsulta/Passaporte/detalhes.do?ida=95802"
ALELO <- url %>%
read_html() %>%
html_nodes(xpath = "/html/body/div[3]/table/tbody/tr/td[2]/div[2]/div[1]/div[2]/table") %>%
html_table() |>
data.frame()
# I'm try with other xpath = "body/div/table/tbody/tr/td/div/div/div/table" but don't run
The idea is get all this table in a df.
Tnks!