How to scrape hierarchical web data into tabular format using rvest?
I am generally familiar with rvest
. I know the difference between html_elements()
and html_element()
. But I can’t get my head around this problem:
Create object derived from scraped data with multiple layers of nesting
This is a follow-up question to the one I asked earlier (How to create data frame from rvest scraped website, preserving nested structure of data) and the answer by @stefan. That answer works perfectly for that question.