Skip to content

giovanni-cutri/giallozafferanoRecipes

Repository files navigation

giallozafferanoRecipes

A handy tool to scrape recipes from the Italian website GialloZafferano, written in R.

You can filter by difficulty, cooking time, ingredients, and other fields (see the full list below).

The result is a dataframe containing all of the recipes which you can use to set up a personal cooking plan.

Installation

Install directly from GitHub.

install.packages("devtools")
devtools::install_github("giovanni-cutri/giallozafferanoRecipes")

Usage

library(giallozafferanoRecipes)

get_recipes(...)

Using get_recipes() alone will scrape the entire website with all of the recipes. You can apply filters to the search by passing one or more of the following parameters.

Available parameters

category            The recipe's category, as noted on the website
difficulty          The recipe's difficulty ("facile", "medio", "difficile")                              
cooking_time        The recipe's cooking time (15, 30 or 60 minutes)
diet                A healthy feature of the recipe ("light", "senza_glutine", "senza_lattosio", "vegetariano")
ingredient          A particular ingredient of the recipe ("pesce", "frutta", "carne", "formaggio")
cooking_method      The recipe's cooking method ("al_forno", "piatti_freddi", "fritti")
special             A special category the recipe belongs to, selected by the website

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A handy tool to scrape recipes from the Italian website GialloZafferano.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages