Through the Import Data page, you can upload datasets or select datasets from sources that are stored on connected datastores. From the Library page, click Import Data.
To import new data:
NOTE: For file-based sources, Trifacta® Wrangler expects that each row of data in the import file is terminated with a consistent newline character, including the last one in the file.
- For single files lacking this final newline character, the final record may be dropped.
- For multi-file imports lacking a newline in the final record of a file, this final record may be merged with the first one in the next file and then dropped depending on your running environment.
Connect to the source of your data:
NOTE: Compressed files are recognized and can be imported based on their file extensions.
Upload: Trifacta® Wrangler can also load files from your local file system.
Tip: You can drag and drop files from your desktop to to upload them.
NOTE: You can upload a file up to 100 MB in size.
For more information on the supported input formats, see Supported File Formats.
- Add datasets:
When you have found your source directory or file, click the Plus icon next to its name to add it as a dataset.
Tip: You can import multiple datasets at the same time. See below.
Excel files: Click the Plus icon next to the parent workbook to add all of the worksheets as a single dataset, or you can add individual sheets as individual datasets.
Tip: If you experience issues uploading XLS/XLSX files that are larger than 35MB, you can convert the files to CSV files and then upload them.
See Import Excel Data.
- When a dataset has been selected, the following fields appear on the right side of the screen. Modify as needed:
- Dataset Name: This name appears in the interface.
Dataset Description: You may add an optional description that provides additional detail about the dataset. This information is visible in some areas of the interface.
Tip: Click the Eye icon to inspect the contents of the dataset prior to importing.
You can select a single dataset or multiple datasets for import.
You can modify settings used during import for individual files. In the card for an individual dataset, click Edit Settings.
NOTE: In some cases, there may be discrepancies between row counts in the previewed data versus the data grid after the dataset has been imported, due to rounding in row counts performed in the preview.
Per-file encoding: By default, Trifacta Wrangler attempts to interpret the encoding used in the file. In some cases, the data preview panel may contain garbled data, due to a mismatch in encodings. In the Data Preview dialog, you can select a different encoding for the file. When the correct encoding is selected, the preview displays the data as expected.
- Detect structure: By default, Trifacta Wrangler attempts to interpret the structure of your data during import. This structuring attempts to apply an initial tabular structure to the dataset.
- Unless you have specific problems with the initial structure, you should leave the Detect structure setting enabled. Recipes created from these imported datasets automatically include the structuring as the first, hidden steps. These steps are not available for editing, although you can remove them through the Recipe panel. See Recipe Panel.
- When detecting structure is disabled, imported datasets whose schema has not been detected are labeled, raw datasets. When recipes are created for these raw datasets, the structuring datasets are added into the recipe and can be edited as needed.
- For more information, see Initial Parsing Steps.
If you have selected a single dataset for import:
- To immediately wrangle it, click Import & Wrangle. The dataset is imported. A recipe is created for it, added to a flow, and loaded in the Transformer page for wrangling. See Transformer Page.
- To import the dataset, click Import. The imported dataset is created. You can add it to a flow and create a recipe for it later. See Library Page.
- If you have selected multiple datasets for import:
- To import the selected datasets, click Import Datasets. The imported datasets are created. You can begin working with these imported datasets now or at a later time.
- To import the selected datasets and add them to a flow:
- Click the Add Dataset to a Flow checkbox.
- Click the textbox to see the available flows, or start typing a new name.
- Click Import & Add to Flow.
- The datasets are imported, and the associated recipes are created. These datasets and recipes are added to the selected flow.
- For any dataset that has been added to a flow, you can review and perform actions on it. See Flow View Page.
- If you are not wrangling the datasets immediately, the datasets you just imported are listed at the top of the Library page. See Library Page.
Import Multiple Datasets
You can import multiple datasets from multiple sources at the same time. In the Import Data page, continue selecting sources, and additional dataset cards are added to the right panel.
NOTE: If you are importing from multiple files at the same time, the files are not necessarily read in a regular or predictable order. Avoid using functions such as SOURCEROWNUMBER, which relies on original row numbers. See SOURCEROWNUMBER Function.
In the right panel, you can see a preview of each dataset and make changes as needed.
- To remove a dataset from import, click the X in the dataset card.
- To add the datasets to a flow, click the checkbox. Then, select an existing flow or enter the name of a new flow to contain your datasets.
- To import the datasets, click Import or Import & Add to Flow.
This page has no comments.