hd_build_multi_page_links: Construct the urls for the multiple return pages for a given...

Description Usage Arguments Value Examples

Description

Construct the urls for the multiple return pages for a given catalog

Usage

1
hd_build_multi_page_links(x, pages = pages_max)

Arguments

x

A string, a connection, or a raw vector.

pages

An integer, the number of pages included in the catalog (default is to find automatically but you can override)

Value

Returns of vector of character strings containing urls for all pages of search results for a catalog of products on HD

Examples

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

## End(Not run)

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