Learn R Programming

trundler (version 0.1.19)

category_products: Products for a specific category

Description

Products for a specific category

Usage

category_products(category_id, recursive = TRUE, ...)

Arguments

category_id

A category ID.

recursive

Should all sub-categories be included?

...

Arguments passed through to paginate().

Value

Details of all products for a specific category as a data.frame.

Examples

Run this code
# NOT RUN {
# Get products for a specific category.
# }
# NOT RUN {
category_id = categories() %>% filter(category_label == "red wine") %>% pull(category_id)
category_products(category_id)
# }

Run the code above in your browser using DataLab