# redivis$notebook

### **redivis$**<mark style="color:purple;">**notebook**</mark>**(name)** → [Notebook](https://docs.redivis.com/api/client-libraries/redivis-r/reference/notebook)

Construct a new notebook instance.

### **Parameters:**

**`name` :&#x20;*****str*** \
The reference to the notebook. Must provide a [fully qualified reference](https://docs.redivis.com/api/referencing-resources), unless if a [default workflow is set](https://docs.redivis.com/api/redivis-python/reference#environment-variables)  (in a Redivis notebook, the default workflow is always set). \
[Learn more about referencing resources >](https://docs.redivis.com/api/referencing-resources)

### **Returns:**

[**Notebook**](https://docs.redivis.com/api/client-libraries/redivis-r/reference/notebook)

### Examples

```r
username <- "imathews"
workflow_name <- "example_workflow_climate_analysis:x7kh"
notebook_name <- "visualize_precipitation_trends:2f2v"

notebook <- redivis$notebook(f"{username}.{workflow_name}.{notebook_name}")
notebook$run()
```
