Rvest read table with cells that span multiple rows
问题 I'm trying to scrape an irregular table from Wikipedia using rvest. The table has cells that span multiple rows. The documentation for html_table clearly states that this is a limitation. I'm just wondering if there's a workaround. The table looks like this: My code: library(rvest) url <- "https://en.wikipedia.org/wiki/Arizona_League" parks <- url %>% read_html() %>% html_nodes(xpath='/html/body/div[3]/div[3]/div[4]/div/table[2]') %>% html_table(fill=TRUE) %>% # fill=FALSE yields the same