Creating a workspace
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.
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.
- 1.From the Workspace dashboard, select An empty workspace. In the modal that shows, you can set the title, the account in which to create the workspace, and (optionally) the integration you want to connect to in this workspace.
- 2.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.
DataCamp 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:
- 1.From the Workspace dashboard, select Start from a template in the sidebar.
- 2.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.
- 3.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!
In addition to templates, 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 Use a dataset in the sidebar.
- Select a dataset you're interested in. A dialog box displays. It provides a 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.
Lots of interesting analyses live in GitHub repositories. DataCamp Workspace allows you to easily create a new DataCamp Workspace from any public GitHub repository.
- 1.From the dashboard, click Import from GitHub.
- 2.Enter the URL or repository name and select the technology (Python or R) that you want to associate with the files.
- 3.A new workspace opens up that includes all the files in the specified repository.
Finally, you can also create a new workspace by making a copy of an already existing workspace that you own or that you have view access to:
- 1.In the workspace you want to copy, open the File menu and select Make a Copy:
- 2.In the modal that appears specify the title for the new workspace (optional), in which account you would like to create this workspace, whether the new workspace should be private or public, and click Make a Copy.
- 3.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 1, you can also click Create Copy Link which allows to create a reusable URL to 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.
- Visit the ws.new url in your browser
- You land in a new, empty workspace, ready to start working.
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:
Account selector on the Workspace dashboard.
Workspaces that live in your personal account:
- Are available to anyone with the link to your workspace (you can choose to disable this).
- Can connect your personal integrations.
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:
- Are available to members in your group (you can choose to disable this).
- 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