hd_tidy_price: Get product and price details from HD web page in a tidy...

Description Usage Arguments Value Examples

Description

Get product and price details from HD web page in a tidy format

Usage

1

Arguments

x

A string, a connection, or a raw vector.

Value

Returns a data frame with the product's model number and price from web

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)
map(links, hd_tidy_price) %>% reduce(rbind)

## End(Not run)

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