Constructor for objects of class food.

new_food(what, input, provenance = NULL)

new_food_source(what)

Arguments

what

Name of the food or food source

input

Ingredients that went into creating this food

provenance

Conjunction to use with the ingredients, defaults to "made of"

Examples

new_food("chopped meat", "raw meat")
#> chopped meat, made of #> raw meat
new_food("carrot pieces", "peeled carrots", "cut from")
#> carrot pieces, cut from #> peeled carrots
new_food_source("the butcher's")
#> the butcher's, #>