category_products: Products for a specific category

View source: R/taxonomy.R

category_productsR Documentation

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

# 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)

datawookie/retail documentation built on Jan. 11, 2023, 4:07 a.m.