Notebook

class Notebook

An interface for working with notebooks on Redivis. Currently only utilized to create an output table from within a running notebook.

Constructors

Get a reference to the current notebook. Can only be called from within a running Redivis 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) 

# Can also pass a path to a parquet file or csv
notebook$create_output_table("path/to/file.parquet")

Methods

Create or append to an output table, using data from within the (running) notebook.

Last updated

Was this helpful?