The Data Hub Workspace is where a Researcher can manage data file collections that can be downloaded in JupyterLab for data analysis.
Sign in with your Google account (Google Sign In page will be prompted, when accessing JupyterLab for the first time). NOTE: You must sign in with the same account that you logged into the Data Hub with and it must be a Google account (A Google account represents a developer, an administrator, or any other person who interacts with Google Cloud. Any email address that’s associated with a Google account can be an identity, including gmail.com or other domains. New users can sign up for a Google account by going to the Google account signup page.) If you do not have a Google account, you must create one before you create a workspace..
7.1. Creating a User Workspace
To begin to create a User Workspace, click on the “Workspace” tab.
Click on the “Create Workspace” button.
It can take a couple minutes to provision a workspace. Once a workspace is created, the JupyterLab Status should update to “Running”. You can now add files to it by selecting files from the list of available files in the Data Hub. Note that you can only add data files that you have authorized access to.
7.2. Adding Data Files to Workspace
Researchers can add data files to their workspace from any screen where the data file is viewable.
For example, select the study that you wish to add data files from. Navigate to the Data Files tab. Click on the “ + Add” button under the “Add to Workspace” column for select data files.
If you wish to add all the data files in the study to your workspace, select the “Select All” checkbox and select the bulk action “Add to Workspace” button.
The selected files are now added to the workspace.
The bulk action “Add to Workspace” button is also available on the Search Files page.
The Researcher can also click on the data file name to open the data file viewer window, where they can add the file to their workspace.
Note: Researchers can add data files from one or more studies to their workspace.
7.3. Starting JupyterLab
Once the workspace is provisioned, select the files you wish to analyze in JupyterLab and select the “Start” button. When the JupyterLab Status updates to “Running”, select the “Open JupyterLab” button to start Open JupyterLab.
Note: Researchers can also open JupyterLab from the Search Files page.
You can now view the content of the files and perform analysis. For first time users, a tutorial script will appear on screen.
Researchers have the ability to access BigQuery from JupyterLab; they can push data to BigQuery and analyze it. In order to do so, from within the Jupyter Notebook run these commands: