ingredient_calcs <- function(x) {
z <- x %>%
inner_join(price_list,by='ingredient') %>%
mutate(price = round(price_per_unit * amount,digits=2)) %>%
select(ingredient,price,unit)
return(z)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.