Description Usage Arguments Value
View source: R/read_notebook.R
Read a Jupyter Notebook as a tibble
.
1 | read_notebook(file_path)
|
file_path |
A length 1 character vector pointing to the notebook file. |
A tibble
with one observation per cell in the notebook
and the following variables:
cell_type: The type of cell in the notebook ("code" or "markdown").
metadata: The cell's metadata as a named list.
source: The source text for the cell as a character string. The
source is processed with clean_source
.
execution_count: For code cells, how times the cell was executed.
The tibble
also has the following attributes:
metadata: The notebook level metadata.
nbformat, nbformat_minor: The major and minor versions of the notebook format, e.g. "4.2" where "4" is major and "2" is minor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.