Data Pipelines

How to build a pipeline of filter, sort, and transform steps on a data model's records, save it as a dataset, and manage saved datasets.

What Is a Data Pipeline?

A pipeline is a list of steps (filters, sorts, and transforms) that runs on the records of one data model. The result is a table. Your records are never changed. You build a pipeline in the Pipeline panel. Open it with the filter icon above a records table, or with the Pipeline icon in the Analytics Hub. A saved pipeline is a dataset: it keeps its steps and columns and opens as a tab on the data model's records page. Who can do what: - Anyone in the project can add steps on the all-records tab, on any tier. - Saving a dataset needs a paid tier (Researcher or Team) and works for every role, including Viewer. - Only the dataset's owner and Editor (Admin) members can change or delete it.

Saving a Dataset

On a data model's records page, set up the steps and columns you want on the all-records tab, then do one of these: - Click Save as Dataset. - Click the + next to the tabs and choose New Table. The Save Dataset window asks for a Dataset name and an optional Description. Click Save Dataset and the dataset opens as a new tab. A dataset always uses the records of the data model it was saved from. You can also create a dataset from a dashboard's Table widget (Widgets). The Analytics Hub has no button for creating datasets. Limit: each member can have up to 15 dataset tabs per project on Researcher and 30 on Team. At the limit, New Table is no longer in the + menu.

Pipeline Steps

Steps run from top to bottom. Each step works on the rows left by the step above it. Add steps with the buttons at the bottom of the Pipeline panel: + Filter, + Sort, and + Transform. Each step is a card with: - a drag handle to move it up or down - an On switch that pauses the step without removing it - a delete icon (Remove step) Clear All removes every step. A step that uses a column made by a transform can't be dragged above that transform. If you try, the card shakes and stays put. Step limits: the panel allows up to 50 steps while you work. A saved dataset can have up to 20 steps on Researcher and 30 on Team, and paused steps count. Over the limit, saving is turned off and the panel tells you how many steps to remove.
pipeline-panel-with-stepsThe Analytics Hub with the Brazilian Specimens dataset open and the Pipeline panel showing a Filter card, Country = Brazil, and a Sort card, Collection Date, Newest first, above the + Filter, + Sort, + Transform, and Clear All buttons

Each step is a card with a drag handle, an On switch, and a delete icon. The add buttons are at the bottom of the panel.

Filters and Sorts

A Filter step keeps only the rows that match its condition. The operators are the same as on the records page (Finding and Filtering). For conditions with AND, OR, and parentheses, click Toggle expression editor on the card. A Sort step orders rows by one column. Pick the column, then click the direction button to switch between: - A → Z and Z → A for text - 0 → 9 and 9 → 0 for numbers - Oldest first and Newest first for dates To sort by more than one column, add more Sort steps. The first Sort step sets the main order, and later ones break ties. Empty values always sort last. Sort steps on a relationship column are ignored.

Transformations

+ Transform adds a step that makes new columns. Choose the type from the menu at the top of the card. A new transform starts as Calculation. Most types ask for an output column name. - Calculation: does arithmetic with the expression editor. Use the toolbar to insert a field, + - * /, parentheses, or a function from fn (SUM, AVG, COUNT, MIN, MAX, ROUND). You can also type : to pick a field, or @ and a function name. If a value is empty or you divide by zero, the result is empty. - Aggregate: up to 10 aggregates, each with a function (SUM, AVG, COUNT, MIN, MAX), a field, and an output column name. With + Add group by, the table becomes one row per group. For example, on Surveys, COUNT of Collection Date grouped by Country gives one row per country with its number of surveys. - Boolean: a yes-or-no condition, such as Elevation (m) > 2000, shown as 1 / 0, Yes / No, True / False, On / Off, Present / Absent, or your own labels with Custom... - Bucket: puts a number into ranges you name, up to 10. A value matches a range when it's at least Min and less than Max. The first matching range wins. Values that match no range are empty. - Category / Label: If and Else if conditions, each with a label, plus a Fallback label. Up to 10 conditions. - Limit / Top N: keeps the first N rows. Steps below it work on those rows only. Functions ignore your filters. SUM, AVG, COUNT, MIN, and MAX in a Calculation, and in an Aggregate without a group by, use every record of the data model, including rows your filters removed. Every row gets the same value. For example, Biomass / SUM(Biomass) gives each row's share of the whole data model's total, not of the filtered rows. An Aggregate with a group by uses your filters. It combines only the rows left by the steps above it. For example, on Surveys, a Filter of Country = Brazil followed by an Aggregate of AVG Elevation (m) grouped by Country gives one row: the mean elevation of the Brazilian surveys. To get a filtered total without splitting the rows, group by a column that has the same value in every remaining row, as Country does here. Later steps can filter, sort, or calculate with columns made by earlier transforms. Pausing a transform also hides its column.
transformation-step-cardA Bucket transform card named Elevation Range on Elevation (m), with ranges 0 - 500 m, 500 - 1000 m, and up, each with a Min and Max, beside the table showing the new Elevation Range column

A Bucket transform: each range has a label, a Min, and a Max. The new column appears in the table.

Viewing Results

The table beside the panel shows the pipeline's result and updates as you change steps. Columns made by transforms appear next to the field columns. The count under the table is the number of rows after every step. A saved dataset can be up to 10 minutes out of date. Cnidarity stores a saved dataset's result for 10 minutes so it opens quickly. Nothing is lost: records added or edited in that time are saved, but they may not show yet in: - the dataset's tab - its full-screen view - its export - Table widgets that use it They show once the stored result expires, or right away if the dataset is saved again. For up-to-the-minute results, set up the same steps on the all-records tab and view or export them there. The all-records tab isn't stored. Open Full Screen in the Analytics Hub opens the dataset in a new browser tab. It's read-only and shows the title, row count, and description, with 50 rows per page. Click a column header to sort.

Exporting Pipeline Data

The download icon (Export as CSV) above the table downloads every row the table has after all steps, not just the current page. There's no export preview. - On the all-records tab, the export uses your current steps, saved or not. - On a dataset tab, it uses the saved dataset. Exports are capped at 50 rows on Free and 100,000 on paid tiers. How relationship columns are written, and when you get a ZIP, is covered in Importing and Exporting. While a project is read-only after a subscription ends (Project Lifecycle), dataset tabs still open and export. You can't add steps or save, clone, or delete datasets.

Cloning and Managing a Dataset

On a dataset tab, click Dataset Settings to show its toolbar. The toolbar appears for the dataset's owner and Editor (Admin) members: - Rename - Clone Dataset: copies the steps and columns into a new tab with (Copy) after the name. Paused steps stay paused. The copy counts toward your dataset limit. - Make Public / Make Private: makes the tab public, so other members can add it from Browse Shared. It doesn't make the dataset itself public. Do that in the Analytics Hub, or other members see only "This dataset is currently private." (Sharing and Visibility). - Set as Default (Editor (Admin) members only) - Remove from Page: hides the tab for you without deleting it. Add it back from Browse Shared. - Delete Dataset: permanently deletes the dataset and its tab. Charts built on it lose their data source. Saving changes on a dataset tab. After you change steps or columns, the dataset's owner sees Save, which overwrites the dataset, and an icon to save a copy instead (Save as new dataset). Everyone else sees Save as New Dataset. Discard changes puts the tab back the way it was.
dataset-clone-actionThe Surveys records page with the Survey Elevation Ranges dataset tab open, its toolbar showing, and the Clone Dataset tooltip on the second icon

A dataset tab's toolbar. Clone Dataset is the second icon.

Version History

Datasets have no version history and can't be locked. Save replaces the dataset's steps and columns, and the old setup isn't kept. Everyone using the dataset, including dashboards and charts built on it, sees the new result. To keep the old version, clone the dataset first or use Save as New Dataset. Saving step or column changes also clears the dataset's description. Add it back with Edit Title / Description in the Analytics Hub.

The Analytics Hub

Open Analytics Hub from the project sidebar. It's on paid tiers only. Choose a chart or dataset from the menu at the top (Select a chart or dataset...). Editor (Admin) members see every chart and dataset in the project. Everyone else sees only their own. Each item is marked Private or Public, and the number next to the menu is how many other members use it on a dashboard. The icons at the top right: - Edit Title / Description - Pipeline (datasets) or Toggle Editor (charts): shows the steps or chart settings - Make Public / Make Private - Open Full Screen: a read-only view in a new browser tab - Delete: after you confirm with Delete Permanently, the item and its steps or series are gone. Other members' widgets that used it show that it could not be found. Changes to a dataset aren't kept until you click Save. Discard changes drops them. If you switch items with unsaved changes, you're asked to Discard & Switch. The hub has no buttons for creating anything. Datasets are saved from records pages, and charts are made on dashboards (Creating Charts).