Get startedGet started for free

Managing your workbook

1. Managing your workbook

In our final video, we'll look at some features that will help improve our workflow and collaboration. These features include scheduling runs of our notebook and version history.

2. Scheduling runs

Imagine we're connected to company data that updates the latest sales records daily. This means the table we query will add a few new rows every day with the most recent data. Instead of opening our notebook and running it ourselves each morning to capture these new rows in our analysis, we can schedule a daily run of the notebook. There's also an option to be notified about the run via email. Nice!

3. Scheduling runs

The option to schedule runs can be found in DataLab's tool bar where we'll find an icon with an image of clock with an arrow. Clicking this let's us set how often we want to schedule a run, daily or weekly, the run time, and set up the notifications we want to receive. Note that scheduling runs is a premium feature.

4. Version history

Next, let's look at version history. Every time we edit our notebook, a version is saved in the history. We can review and restore any previous version we want. This can be helpful if we're collaborating with a large group and perhaps an error was introduced, or we've been working on the same notebook for a while and want to go back to a previous approach that we now prefer. Each saved version is attributed to the user who made it, so we can see who made the edit in a collaborative setting.

5. Version history

This version history is accessed from the toolbar or through the file options.

6. Version history

A new view will appear with an overview of the notebook history. We can click through it to see the recent changes without changing our current notebook. Alternatively, we can change our current notebook by clicking the three dots next to a version and selecting the restore option, or clicking the big restore button. We may need to refresh to see the changes. If we make a mistake, we can undo it by restoring to the version just before the restoration!

7. Let's practice!

It's time for some last bits of practice.