You may need to unzip a file that is either in your project or that you uploaded as a snapshot, to a dataset. Both cases are covered below:
a. Unzip a zip file in your project files to a dataset
1. Create a new dataset by navigating to Datasets > Create New Dataset
2. Give a meaningful name to the dataset and click on Upload Contents
3. Choose Create with Interactive Workspace and select Jupyter or RStudio. Make a note of the output directory. It should be something on the lines of /domino/datasets/output/<dataset-name>
4. Open a terminal and use a command like unzip <zip file name> -d /domino/datasets/output/<dataset-name> to unzip the file to the dataset
5. Click on Stop > Stop and Commit to save changes to the dataset.
6. Navigate to the dataset and make sure your unzipped files are all there
b. Unzip a zip file in your dataset
1. Open your dataset that has the zip file and click on New Snapshot
2. Choose Create with Interactive Workspace and select Jupyter or RStudio. Make a note of the output directory. It should be something on the lines of /domino/datasets/output/<dataset-name>
3. Open a terminal and use a command like unzip /domino/datasets/local/<dataset-name> -d /domino/datasets/output/<dataset-name> to unzip the file to the dataset
4. Navigate to /domino/datasets/output/<dataset-name> and make sure your unzipped files are all there
5. Click on Stop > Stop and Commit to save changes to the dataset.
6. Navigate to the dataset and make sure your unzipped files are all there
Comments
0 comments
Please sign in to leave a comment.