next_page: Extract the max page number from bottom of product catalog...

Description Usage Arguments Value Examples

Description

Extract the max page number from bottom of product catalog url

Usage

1

Arguments

x

A string, a connection, or a raw vector.

Value

Returns a numeric value containing the last page in catalog

Examples

1
2
3
4
5
## Not run: 
pg1 <- "http://www.homedepot.com/b/Electrical-Dimmers-Switches-Outlets/N-5yc1vZc34h"
pg2 <- next_page(pg1)

## End(Not run)

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