Price history for a specific product
product_prices(product_id, head = FALSE, ...)
product_id | A product ID. |
---|---|
head | Return the data ( |
... | Arguments passed through to |
Price history as a data.frame
if head
is FALSE
, otherwise the number of price history entries that would be returned.
# Price history for a specific product. if (FALSE) { # Detailed price history for product with ID = 1. product_prices(1) # Number of entries in price history for product with ID = 1. product_prices(1, head = TRUE) }