knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Use {sourrr} to generate sourdough bread recipes using baker's percentages.
You can install the development version of {sourrr} from github with:
# install.packages("remotes") remotes::install_github("andrewheiss/sourrr")
Suppose you want to bake a 75% hydration loaf that weighs 900 grams using 100% hydration sourdough starter (i.e. you feed it a 1:1 ratio of flour and water). Use the build_recipe()
function to generate the appropriate recipe:
library(sourrr) build_recipe(final_weight = 900, hydration = 0.75)
You can set all the arguments:
build_recipe(final_weight = 900, hydration = 0.90, pct_starter = 0.25, starter_hydration = 1, pct_salt = 0.02)
For now, it's not 100% correct because I add the salt to the final loaf weight. The math is too tricky and I can't figure it out right now with, like, the ongoing global pandemic :shrug:.
If you have an existing recipe, you can use the calculate_recipe()
function to determine the hydration level:
calculate_recipe(flour = 450, water = 320, starter = 100, starter_hydration = 1, salt = 8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.