Find products by name or brand
products( product = NA, brand = NA, sku = NA, regex = TRUE, ignore_case = TRUE, barcode = NA, head = FALSE, ... )
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 ignored? |
barcode | Filter by barcode. |
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.
if (FALSE) { products(product = "coffee") products(brand = "Illy") products(product = "coffee", brand = "Illy") products(product = "coffee", brand = "Illy", head = TRUE) products(sku = "086079") }