A workspace is a collection of source, data, and configuration files that represents all of the work you are doing for a certain data analysis task or project.
Creating a workspace
There are three ways to create a workspace: create a blank Python or R workspace, create a workspace from one of DataCamp's curated templates, or create a workspace from a (public) GitHub repository.
Creating a blank Python or R workspace
From the workspace dashboard, select New Python Workspace or New R Workspace. A new workspace opens up with a blank notebook. The workspace will open up in DataCamp's notebook editor, but you can click "Switch editor" at the top to switch to JupyterLab.
You decide what you do next: you can upload a dataset, connect to an external data source, build a data visualization. If you're not sure how to start, you can consider starting from a dataset or a template, as explained in the next sections.
Creating a workspace from a dataset
DataCamp provides a rich and growing collection of intriguing datasets to analyze; the workspace you create through this way will contain all the necessary data pre-configured and a brief description, so you can dive in immediately.
To create a workspace from a DataCamp dataset
From the Workspace dashboard, select Datasets in the sidebar.
Select a dataset you're interested in. A dialog box displays. It provides an preview of the selected dataset including a data dictionary and a link to the dataset source, possible choice of language (Python or R), and an overview of Publications that other Workspace users created with this dataset.
Select Use Dataset. A new workspace opens up with the data and a basic notebook pre-configured so you can start your analysis.
Creating a workspace from a template
In addition to datasets, DataCamp also provides a wide range of templates that contain pre-written code to solve common data science tasks, going from simple things like merging two data frames, all the way up to larger problems such as training a decision tree classifier for making predictions.
To create a workspace from a DataCamp template:
From the Workspace dashboard, select Templates in the sidebar.
Select a template you're interested in. A dialog box displays. It provides an preview of the selected template, possible choice of language (Python or R), and an overview of Publications that other Workspace users created with this template.
Select Use Template. A new workspace opens up with the data and all of the template's content loaded so you can continue working on it: you can hook up your own dataset, you can tweak the template's content, you can add more steps to the analysis; anything goes!
Watch a video on how Ramnath quickly visualizes DataCamp's curriculum through an interactive tree map using a template.
Creating a workspace from a (public) GitHub repository
Lots of interesting analyses live in GitHub repositories. DataCamp Workspace allows you to easily create a new DataCamp Workspace from any public GitHub repository.
From the dashboard, select From GitHub Repository.
Enter the URL or repository name and select the technology (Python or R) that you want to associate with the files.
A new workspace opens up that includes all the files in the specified repository.
Duplicate an existing workspace
Finally, you can also create a new workspace by duplicating an already existing workspace that you own or that you have view access to:
In the workspace you want to duplicate, click the down arrow next to the workspace title and select Duplicate Workspace:
In the modal that appears specify the title for the new workspace and in which account you would like to create this workspace and click Duplicate Workspace.
A new workspace will be created that contains all the files and folders that are stored in the home directory of the original workspace.
Note that in step 2, you can also click Copy Duplication Link which will copy a URL to your clipboard that - when opened in a new tab - will create a new workspace, duplicating the original workspace. You can use this URL to send over to peers so they can easily create a copy of your workspace. This can be useful in an education context, as described in Workspace for Education.
Personal and group workspaces
By default, all workspaces you create will live under your personal account. You can see this by checking the account selector in the workspace sidebar:
If you are a member of one or more DataCamp groups, you can also create workspaces inside this group. To do so, click the account selector dropdown and select a group. Workspaces you now create through one of the ways outlined above:
Can easily be shared with other group members (rather than having to share with every group member individually)
Can connect to your group's integrations.
To learn more about integrations and the difference between personal and group integrations, read What is an integration?
You need a Workspace Teams license to be able to create and edit workspaces in a group. Learn more on Teams