product_prices | R Documentation |
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. ## Not run: # 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) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.