Step 4: Get your files and data

There are basically two strategies to working with data in Domino:

In this step, you’ll copy your data into the project using the Jupyter terminal. If you have not done so, please complete Step 3 to start a Jupyter workspace.

The starting file path in your Jupyter workspace is /mnt. By default, this is considered the root of your Domino project. If you add or modify files in /mnt, you can save them back to your project when you stop or sync the workspace.

  1. Use the New menu to open a Jupyter terminal.

    New terminal in Jupyter

  2. In the new terminal, run the following command to fetch some data from the BMRS:

    curl -o data.csv "https://www.bmreports.com/bmrs/?q=ajax/filter_csv_download/FUELHH/csv/FromDate%3D2019-09-15%26ToDate%3D2019-10-02/&filename=GenerationbyFuelType_20191002_1657"
    
  3. Click the Save & Push All button in the toolbar to perform a sync and save the new data.csv file to your Domino project.

    Full Sync button

  4. A modal will appear that will display which files have changed during your workspace session. Enter an informative commit message, then click Continue with Sync.

    Full sync modal

Return to your project in Domino by navigating to a new browser tab. Then, navigate to the “Files” section of Domino. Notice that the raw data has been saved in the latest revision.

Files after full sync

See the documentation on other methods of both copying data into Domino and querying data from Domino.