DataLab

DataLab is a cloud-based notebook built by DataCamp that allows you to experiment with code, analyze data, collaborate with others, and share insights with no installation required.

This page describes the steps to analyze Data Connector learning data with DataLab.

Complete these two steps to view your learning data in Power BI.

Set up an Amazon Athena data connection

First, make sure you have your credentials.

Head over to the DataLab dashboard at https://app.datacamp.com/datalab/.

Click on Data Sources on the left-hand panel.

Select New Data Source.

Select Amazon Athena.

Enter the following data in the setup dialog.

  • Name: Free to choose (e.g., DataCamp Data Connector)

  • Description: optional; you can leave it blank

  • Region: The AWS Region from your credentials

  • Output Bucket: s3://{bucketname}/tmp-datalabreplace {bucketname} with the S3 Bucket Name from your credentials

  • Access Key: the AWS Access Key ID from your credentials

  • Secret Key: the AWS Secret Access Key from your credentials

  • Click Connect

Query your data

  • You can now access your organization's learning data with a SQL cell.

  • Create a new SQL cell and select the Athena connection you just created in the Select data source dropdown in the top left corner of the cell:

  • You can now write and run a SQL query through the Athena connection. See the Sample Queries page for examples of typical reports you can build.

  • You can browse all the available tables through the schema browser by clicking the icon in the SQL cell.

Resources

Last updated