Quality certification for recipes with three tiers: community (default), reviewed (peer-reviewed by institutional member), and official (certified by institution).
See also
Other tidy-api:
RecipeCategory,
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
levelCharacter. Certification level.
certified_byRecipeUser or NULL. The certifying user.
certified_atPOSIXct. Timestamp of certification.
notesCharacter or NULL. Additional notes.
Methods
Method new()
Create a new RecipeCertification
Usage
RecipeCertification$new(
level,
certified_by = NULL,
notes = NULL,
certified_at = NULL
)Method print()
Print certification badge
Examples
# Use recipe_certification() for the public API:
cert <- recipe_certification()
inst <- recipe_user("IECON", type = "institution")
official <- recipe_certification("official", certified_by = inst)