Wiki

Clone wiki

sabroso / Usage

Basic usage of the sabroso framework

This section covers the basic functionality that the framework provides using a walk through of the sabroso demo. This tutorial assumes that you have installed the system as covered in the installation procedure. It also assumes, like the installation instructions, that you are running this on a Linux-like system.

Step 1: Start up the system

Confirm that installation instructions provided in this wiki have been followed.

Step 2: Log-in and create a project

01-login.png

Enter credentials at the log-in splash.

02-add-project.png

Create a project.

Projects are collections of analyses and data. Add a project by clicking the plus sign and adding a new "Demo project".

03-project-list.png

Projects can be navigated to by selecting the now created box containing created project information on the project page.

Step 3: Upload data into the project

04-create-bucket.png

Buckets are combinations of data that are relevant to a project. Each data set in a bucket must have the same columns. Buckets can be created by adding relevant information and selecting the "Create Bucket" button.

05-add-bucket-to-project.png

Once a bucket has been created, it can be associated with a bucket via the "Use Selected" button. Projects may have any number of buckets associated with them as long as the buckets maintain the same data type.

06-upload-data.png

Once a bucket has been created, data can be associated with that bucket to be added into a project. This is done via selecting the pertinent file and uploading via the "Upload" field.

In order for a project to be functional, data must be added. In this case, we have provided a test set of data that is of "test_type". The data can be found at <repo>/python/examples/d3_scatter/example_data.csv.

When data is added to a project, it is added as a specific type. Analyses require data of specific types to be associated with a project to be accessible.

Step 4: Create analysis

07-new-analysis.png

With the data added, you should now be able to add a new analysis that requires "test_data" to be associated with a project. The analysis type is called "test_analysis_type". An analysis type is a description of a visualization and the data that the visualization requires. To create custom visualizations, see the section of the wiki on customizing the application.

08-analysis-created.png

Once the analysis has been created, you can click on the tile to see the data associated with the project analyzed and visualized with the analysis.

09-add-plot.png

10-add-plot-control.png

Plots can be created and added to the analysis. Once the plot is added to the analysis, certain functions can be added and run via the plot control functionality.

There are two types of controls available on visualizations. The first type requires a round-trip to the server by changing the way the data are analyzed. These are under the "Data controls" section and are processed after pressing the "Submit" button. The second type of controls change the way the plot looks and these are under "Plot controls" and require no round trip to the server.

Step 5: Save analysis

11-save.png

12-saved.png

Once you make changes to a visualization, you can save a particular view of the data and come back to it later. Once you make a save, clicking on the save will return the state of the visualization to what was saved.

Step 6: Share analysis save

You can share any item that you create in sabroso with another user. If you share a project, you will share the data that you have put together as a single project. If you share an analysis, you share a project along with a specific analysis of interest. If you share a save, you share all of the above along with the particular state.

To share a save, there must be another user in the system. To add another user, navigate into the REST API, http://localhost:3000/v1/users and add a user.

Only superuser status users may add or modify users.

13-share-project.png

14-share-analysis.png

14-shared-project.png

15-shared-analysis.png

Once you have added a user, you can share projects and analyses with that user. Note that you have to make the save first and that this option will share the state of which save you clicked on and not the current state of the visualization.

To confirm the share, log-in as the created user and view.

Updated