get_recipe: Collating recipes based on user parameter entry

Description Usage Arguments

View source: R/get_recipe.R

Description

get_recipe() collects recipes that match the filters set by the user. It takes arguments such as type of food/drink and the desired ingredients.

Usage

1
2
3
4
5
6
7
get_recipe(
  type,
  wanted_ingredients,
  filter_all_ing = TRUE,
  unwanted_ingredients,
  pages
)

Arguments

type

The type of food/drink

wanted_ingredients

A vector of desired ingredients

filter_all_ing

A logical element indicating whether the user wants recipes containing all ingredients or at least one of the ingredients selected

unwanted_ingredients

A vector of unwanted ingredients

pages

The number of pages a user wants


JohnMcIntyreJR/getrecipes documentation built on June 15, 2020, 4:09 p.m.