category_products: Products for a specific category

Description Usage Arguments Value Examples

View source: R/taxonomy.R

Description

Products for a specific category

Usage

1
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

1
2
3
4
5
6
# Get products for a specific category.
## Not run: 
category_id = categories() %>% filter(category_label == "red wine") %>% pull(category_id)
category_products(category_id)

## End(Not run)

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