R: Set values in a form.

set_values {rvest} | R Documentation

## Set values in a form.

### Description

Set values in a form.

### Usage

    set_values(form, ...)

### Arguments

`form` | Form to modify
`...` | Name-value pairs giving fields to modify

### Value

An updated form object

### Examples

    search <- html_form(read_html("http://www.google.com"))[[1]]
    set_values(search, q = "My little pony")
    set_values(search, hl = "fr")
    ## Not run: set_values(search, btnI = "blah")

[Package rvest version 0.3.2 Index]