Skip to main content
Version: 0.21.2

Export

Export lets you save datasets, databases (and their tables), expressions, scripts, saved workflows, and your current workflow to files that can be downloaded on to your local machine.

Format

Export has several utterance variations you can use:

  • Export the current dataset to <file name>. Saves your current dataset to a .csv file on your machine.
  • Export the current workflow to <file name>. Saves your current workflow as a .dcw file on your machine.
  • Export the dataset <dataset name> (to <file name>). Saves a dataset that you've loaded into your session to a file on your machine.
  • Export the defined expressions to <file name>. Saves the expressions you've created in your session to a DataChat definitions (.dcd) file.
  • Export the saved script <script name>. Saves a script you've uploaded to a file on your machine.
  • Export the saved workflow <workflow name> to <file name>. Saves a previously-saved workflow to a .dcw file on your machine.

Parameters

Export uses the following parameters:

  • file name (optional). The name of your new file. Note that you don't need to specify the file's extension.
  • dataset name (required). The name of the dataset to export. Note that you don't need to specify the file's extension.
  • script name (required). The name of the script to export.
  • workflow name (required). The name of the workflow to export.

Output

If the dataset, database, workflow, or script is successfully saved, the file appears in whichever location you've specified on your machine for downloads and a success message appears in the chat history. Otherwise, an error message appears.

Examples

To export your current dataset to a file called "CleanedData," enter Export the current dataset to CleanedData.

To export your current workflow to a .dcw file called "LatestWorkflow," enter Export the current workflow to LatestWorkflow.

To export a saved dataset called "MarketingDataV1" to a file called "OldData," enter Export the dataset named MarketingDataV1 to OldData.

To export a saved script called "MarketingCleaner" to a file, enter Export the saved script MarketingCleaner.

To export a saved workflow called "MarketingAnalysisV2" to a file called "Sample", enter Export the saved workflow MarketingAnalysisV2 to Sample.