retailer_products | R Documentation |
Products for a specific retailer
retailer_products( retailer_id, product = NA, brand = NA, sku = NA, regex = TRUE, ignore_case = TRUE, head = FALSE, ... )
retailer_id |
A retailer ID. |
product |
Filter by product name (treated as a regular expression). |
brand |
Filter by product brand (treated as a regular expression). |
sku |
Filter by SKU. |
regex |
Should filter be treated as a Regular Expression? |
ignore_case |
Should case be ignore? |
head |
Return the data ( |
... |
Arguments passed through to |
Product details as a data.frame
if head
is FALSE
, otherwise the number of products that would be returned.
# Get products for a specific retailer. ## Not run: retailer_products(1) retailer_products(118, product = "coffee") retailer_products(118, brand = "Illy") retailer_products(118, product = "coffee", brand = "Illy", head = TRUE) retailer_products(118, sku = "086079") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.