Learn R Programming

rvest (version 0.3.2)

html_form: Parse forms in a page.

Description

Parse forms in a page.

Usage

html_form(x)

Arguments

x

A node, node set or document.

See Also

HTML 4.01 form specification: http://www.w3.org/TR/html401/interact/forms.html

Examples

Run this code
# NOT RUN {
html_form(read_html("https://hadley.wufoo.com/forms/libraryrequire-quiz/"))
html_form(read_html("https://hadley.wufoo.com/forms/r-journal-submission/"))

box_office <- read_html("http://www.boxofficemojo.com/movies/?id=ateam.htm")
box_office %>% html_node("form") %>% html_form()
# }

Run the code above in your browser using DataLab