Description Usage Arguments Value See Also Examples
View source: R/get_recipe_steps.R
Get a tibble of a given recipe's steps
1 | get_recipe_steps(connection, recipe_uid, include_inactive = FALSE)
|
connection |
A connection object, as retrieved from |
recipe_uid |
Numeric UID or a vector of numeric UIDs of the recipe to retrieve steps for. |
include_inactive |
If |
A tibble listing all recipe steps including their recipe_uid
, UID, type, value (if necessary; depending on type), whether the step builds on a randomly picked item, whether the step builds on previously collected data, whether it is active, as well as a character vector of random items to choose from (if use_random_item
).
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
connection <- connect('my_db on localhost')
get_recipe_steps(connection, recipe_uid = 21)
get_recipe_steps(connection, recipe_uid = c(21, 32))
get_recipe_steps(
connection,
recipe_uid = 21,
include_inactive = TRUE
)
disconnect(connection)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.