powered by
Get element children
html_children(x)
A document (from read_html()), node set (from html_elements()), node (from html_element()), or session (from session()).
read_html()
html_elements()
html_element()
session()
html <- minimal_html("123") ul <- html_elements(html, "ul") html_children(ul) html <- minimal_html("Hello Hadley!") p <- html_elements(html, "p") html_children(p)
Run the code above in your browser using DataLab