Filter Recipes Based on Various Criteria
get_recipes.Rd
This function filters the recipes dataset based on provided criteria such as ingredients, cuisine, diet, maximum preparation time, and maximum cooking time.
Arguments
- data
Data frame containing the recipes.
- ingredients
Vector of ingredients for filtering
- cuisine
String specifying the cuisine type for filtering
- diet
String specifying the diet type for filtering
Examples
get_recipes(recipes, ingredients = c("tomato", "chicken"),
cuisine = "Italian", diet = "Gluten Free")
#> # A tibble: 0 × 10
#> # ℹ 10 variables: recipe_title <chr>, rating <dbl>, description <chr>,
#> # cuisine <chr>, course <chr>, diet <chr>, prep_time <dbl>, cook_time <dbl>,
#> # ingredients <chr>, instructions <chr>