Learn R Programming

trundler (version 0.1.19)

product_prices: Price history for a specific product

Description

Price history for a specific product

Usage

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

Run this code
# NOT RUN {
# 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)
# }

Run the code above in your browser using DataLab