Importing and Exporting

Import loads rows from a CSV or Excel file into one data model, creating records, updating them, or both. Export downloads the records you're viewing as CSV. Both are available on every tier.

Step 1: Upload Your File

Open a data model's records page, open the menu next to the + button, and choose Import Data. Members with the Editor (Admin) or Editor role can import. On the Import Data page, choose or drop a file: - CSV (.csv, .txt) or Excel (.xlsx, .xls), up to 10 MB - column headers in the first row - for an Excel file with several sheets, you pick one ("Multiple Sheets Detected")

Step 2: Configure Import Options

The Configure Import page lists the detected columns. Choose Import into which data model? and answer What are you trying to do?: - I'm loading new data: every row becomes a new record. - I'm correcting existing data: rows are matched to existing records, and those records are updated. No records are created. - I'm doing both: matching rows update records, and the rest become new records. The last two can't be chosen until the data model has records.

Step 3: Map Columns to Fields

On Map Columns (listed in the steps as "Match columns to fields"), pick a field for each column, or -- Skip this column --. Columns aren't mapped automatically: every column starts as -- Skip this column --, even when its header matches a field's name, so pick a field for each column you want to import. If you go back a step and return, your choices are kept. Each field can take one column. In each column's list, the data model's own fields are under Fields. Fields of a connected data model are grouped under the relationship's name, and a relationship's Additional Fields under Pivot: and the relationship's name. Linking to connected records. Map a Site Name column to the Site data model's Site Name, and each imported row links to the Site with that name. Rows with no matching Site are imported without the link. Once a relationship is mapped, its Additional Fields can be mapped too. Linking isn't available when correcting existing data. Record Matching. When correcting existing data, choose how rows find their record: - Fields: one or more fields whose values are different for every record, for example Sample ID. - Record ID (UUID): Cnidarity's internal ID for each record, a long code such as 9f2c9c80-1257-46a4-b2af-fe7d8524a407. You're asked "Which CSV column contains the record IDs?". A record's ID is the last part of the web address of its page. Most exports don't include it (see Exporting Your Data). Correcting records in a spreadsheet. To export records, fix them in Excel, and import them back: - Check that the export includes a field that's different for every record, such as Sample ID, and don't change that column. - Export, edit the values in the file, and save it as CSV or Excel. - Import it, choose I'm correcting existing data, map the columns, and under Record Matching choose Fields with that field. - On the review step, check the counts for Records to Update, No Changes, Unmatched (skipped), and Ambiguous (skipped). A row that matches more than one record is skipped as ambiguous. An empty cell doesn't clear a value: the record keeps what it had. If two rows match the same record, the later row wins. Grouping duplicate rows. When you're loading new data and at least one column is mapped to a connected data model, the page offers Group rows by identity columns. Use it when a file repeats a record on several rows, such as one row per species observed in a survey. Check it, then under Select columns that identify a unique record pick the columns that are the same on every row of one record, such as Survey Date and Site Name. Rows with the same values in those columns become one record. For example, three rows for one survey listing Walleye (Count 4), Yellow Perch (Count 9), and Bluegill (Count 2) become one survey record linked to three species, each link with its own Count. The survey's own values come from the first of the three rows. If a later row has a different value in one of them, such as another Water Temperature, it's ignored. If two rows link to the same species, only the first link and its Count are kept. Readonly and Hidden fields can only be mapped by members allowed to change restricted data (Roles and Permissions). Click Next: Review & Import →.
import-mapping-pageThe Map Columns step for surveys-import-sample.csv, listing five columns with sample values and the field each is mapped to

Each column shows sample values from the file and the field it's mapped to.

Step 4: Review and Import

Review & Import shows the Import Summary: how many rows are valid, how many records will be created or updated, how many will be linked, and the rows that will be grouped. Rows that fail a validation rule are listed with the error and aren't imported. Required isn't enforced on import: rows with an empty required field are imported, with a warning such as "3 row(s) will be created with missing required fields." The button states what will happen, for example Import 120 Records or Update 40 & Create 80 Records. At the record limit. The Import Summary doesn't warn you when a file has more new rows than the project has room for. When you're loading new data without grouping rows, the first valid rows in file order are created and the rest are skipped. With the Standard alert voice, the message afterward says how many, for example "Successfully imported 20 record(s). 25 record(s) were skipped because the project record limit was reached." When you're doing both, extra new rows are skipped and the message doesn't give a count. If the project is already full, the import is refused. Free's limit of 30 records per data model isn't checked on import; only the project limit is.
import-review-pageThe Review and Import step showing 2 Records to Create and 0 Validation Errors, a warning that no related data is mapped, and the two rows to import

The Import Summary shows what will be created, and warns when rows won't be linked.

Exporting Your Data

On a data model's records page, click the download icon (Export as CSV). The file has the rows and columns of the tab you're viewing. On the all-records tab, that includes any filters, sorts, and column changes in the Pipeline panel. On a saved dataset tab, it's the dataset. - One CSV with one row per record, usually. - If the columns include fields from one relationship that links to many records, each linked record gets its own row. - If they include fields from two or more such relationships, you get a ZIP with a main CSV and one CSV per relationship. Only the ZIP includes record IDs, in a Source Record ID column. A single CSV has no record ID column, so to import corrections from it, match on a field instead (see Step 3). Free projects export up to 50 rows, the size of a Free project. Paid projects export up to 100,000 rows. Viewers can export. Hidden fields aren't exported for members who can't see them. During a read-only grace period, only saved dataset tabs can be exported.