hd_product_model: Scrape and format model number for a given product from HD...

Description Usage Arguments Value Examples

Description

Scrape and format model number for a given product from HD product page

Usage

1

Arguments

x

A string, a connection, or a raw vector.

Value

Returns the model number from a given HD product link

Examples

1
2
3
4
5
6
## Not run: 
x <- "http://www.homedepot.com/b/Electrical-Dimmers-Switches-Outlets/N-5yc1vZc34h"
links <- hd_get_product_links(x)
hd_product_model(links[1])

## End(Not run)

burtonlueth/webPrices documentation built on May 13, 2019, 8:47 a.m.