tidy_element: tidy_element

Description Usage Arguments Value

View source: R/tidy.R

Description

tidy_element

Usage

1
tidy_element(element, depth = 0)

Arguments

element

a list of xml nodes representing individual divs or a list of selenium-elements

depth

a numeric value indicating how deep the search should go.

Value

A tibble with the elements attribute and a column for each layer containing the children from the corresponding layer.


benjaminguinaudeau/tidyweb documentation built on Jan. 8, 2020, 8:12 a.m.