product_prices: Price history for a specific product

Description Usage Arguments Value Examples

View source: R/product.R

Description

Price history for a specific product

Usage

1
product_prices(product_id, head = FALSE, ...)

Arguments

product_id

A product ID.

head

Return the data (FALSE) or the number of records (TRUE)?

...

Arguments passed through to paginate().

Value

Price history as a data.frame if head is FALSE, otherwise the number of price history entries that would be returned.

Examples

1
2
3
4
5
6
7
8
# 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)

trundler documentation built on July 29, 2020, 1:06 a.m.