redivis$current_notebook
redivis$current_notebook() → Notebook
Returns a reference to the current notebook. Can only be called from within a Redivis notebook. The current use case for this method is to generate an output table from the notebook (see example).
Returns:
Notebook
Examples
df = get_dataframe_somehow()
notebook <- redivis$current_notebook()
# Create an output table on the current notebook
# Optional parameter, append (default FALSE), determines whether the output appends to
# or replaces the output table.
notebook$create_output_table(df, append=FALSE)
Last updated
Was this helpful?