Learn R Programming

midas (version 1.0.1)

html_to_list: Uses xml2 to parse html text into a list

Description

Uses xml2 to parse html text into a list

Usage

html_to_list(x)

Arguments

x

string of html

Value

html as an R list

Examples

Run this code
# create some test data
html <- '<div class="example"><h3>test</h3></div>'
html_to_list(html)

Run the code above in your browser using DataLab