Description Usage Arguments Value Examples
search_recipe
returns a data.frame with search results. Make sure to spell the ingredients correctly,
or the search won't work. You must specify at leat one ingredient. You can also add a search for a particular type
of dish via the 'search' parameter. If you pass on more than 2 ingredients, you may set a minimum number of
supplied ingredients to be included in the recipe. Ingredients more important for the dish must be passed in first.
The function returns a data.frame object with a list of links to recipes, required ingredients, and name of the dish.
Bon Appetit!
1 | search_recipe(ingredients = NULL, search = NULL, minNumIngredients = 1)
|
ingredients |
vector of character strings. |
search |
a character string. |
minNumIngredients |
an integer. |
data.frame object with search results
1 | search_recipe(c("onion", "cheese", "beef"), "burger", 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.