hd_find_category_from_sitemap: Use a string to search product categories on home depot's...

Description Usage Arguments Value Examples

Description

Use a string to search product categories on home depot's site map

Usage

1

Arguments

search_string

A character string to use to find relevant urls

Value

Returns a list of urls of product categories containing your search string

Examples

1
2
3
4
5
6
## Not run: 
page_links <- hd_find_category_from_sitemap("Electrical-Wire")[-1]
prod_links <- map(page_links, hd_build_multi_page_links) %>%
  setNames(., map(., ~slit(.[[1]], pos = 5)))

## End(Not run)

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