View source: R/make_notebooks.R
add_notebook | R Documentation |
Add notebook to analysis
add_notebook(
analysis,
notebook_file,
products = character(0),
dependencies = list(),
params = list(),
notebook_name = fs::path_sanitize(fs::path_ext_remove(notebook_file))
)
analysis |
analysis object |
notebook_file |
file path of the notebook to add to analysis (relative to analysis$notebook_dir) |
products |
(named) character vector specifying file paths of side products of the notebook, they are available as parameters to subsequent notebooks by their name |
dependencies |
either a named list of character vectors or a named character vector specifying file paths of files required by the notebook. Dependencies matching parameters will be used as such |
params |
named list of parameters to supply to the notebook |
notebook_name |
character string to use as name of the notebook under which its out_dir will available as parameter to subsequent notebooks |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.