Standardized taxonomy for classifying recipes by domain. Supports hierarchical categories with parent-child relationships.
Value
An R6 object of class RecipeCategory.
See also
Other tidy-api:
RecipeCertification,
RecipeUser,
add_category(),
certify_recipe(),
default_categories(),
filter_recipes(),
filter_workflows(),
find_workflows_for_recipe(),
list_recipes(),
list_workflows(),
rank_recipes(),
rank_workflows(),
recipe_category(),
recipe_certification(),
recipe_user(),
remove_category(),
search_recipes(),
search_workflows(),
set_user_info(),
set_version()
Public fields
nameCharacter. Category identifier.
descriptionCharacter. Human-readable description.
parentRecipeCategory or NULL. Parent category for hierarchy.
Methods
RecipeCategory$new()
Create a new RecipeCategory
Usage
RecipeCategory$new(name, description, parent = NULL)Examples
# Use recipe_category() for the public API:
cat <- recipe_category(
"economics", "Economic indicators"
)
sub <- recipe_category(
"labor_market", "Labor market",
parent = "economics"
)