Learn how to create a workflow to prepare and integrate data from various sources into a dataset that is available to your GIS environment.
Open the Data Pipelines app and create a data pipeline
To open the Data Pipelines app and begin creating a data pipeline, complete the following steps:
- Sign in with an ArcGIS account and access the Data Pipelines app by using the app launcher.
The Data Pipelines gallery page appears.
- Click Create data pipeline.
The data pipeline editor opens.
Add a data source
A data source loads data into the data pipeline for preparation. To add a data source to the diagram, complete the following steps:
- Click Inputs on the editor toolbar.
The Inputs panel appears.
- Click File.
The File element is added to the canvas.
- In the File panel, click Select item.
The item browser opens.
- In the item browser, choose ArcGIS Online from the choice list next to the search bar.
- Search for Coastal Ferry Routes - Create Your First Data Pipeline, click the matching item, and click Select.
You are returned to the File panel and the Format parameter is set to GeoJSON for the dataset.
- Click Preview.
The preview loads.
- Explore the input dataset by doing any of the following:
- Click the Table preview tab to view a tabular representation of the dataset.
- Click the Map preview tab to view the locations of the dataset on a map. In map preview, you can pan, zoom, and inspect attributes.
- Click the Schema tab to verify the schema of the dataset.
- Click the Messages tab to review messages returned from the preview action.
Prepare the data
Data Pipelines includes tools that clean and transform data. Two of these tools are the Filter by attribute tool, which is used to select the most frequently used routes, and the Select fields tool, which is used to maintain specified fields in the final output.
To prepare the data using the Filter by attribute and Select fields tools, complete the following steps:
- Click the close button at the top of the preview pane.
- Click Tools on the editor toolbar, and click Filter by attribute.
The Filter by attribute element is added to the canvas.
- Configure Filter by attribute to use the file dataset as input by doing one of the following:
- Drag the pointer from the output port of the File element to the input port of the Filter by attribute element.
- In the Filter by attribute panel, choose the file dataset using the Input dataset parameter.
- Click Build new query in the tool panel.
The Query builder dialog box appears.
- Click Expression , then click Next.
- In the field picker, choose FREQUENCY_OF_USE_IND. Enter a value of High in the text box.
- Click Add on the Query builder dialog box.
- Click the Tools button on the editor toolbar, and click Select fields.
The Select fields element is added to the canvas.
- Connect the output port of the Filter by attribute element to the input port of the Select fields element using one of the options in step 3 above.
- In the Select fields panel, click the +Field button, and choose geometry, FERRY_ROUTE_ID, ROUTE_NAME, and MANIFEST_TYPE. Click Done to save the field selection.
You can use the search text box to quickly find the fields.
- Click Preview and review the result.
Export the data to ArcGIS Online
The Coastal Ferry Routes input dataset has now been filtered to contain only the routes with a high frequency of use and a selection of the fields that contain the information of interest. To export this dataset to a feature layer in ArcGIS Online, complete the following steps:
- Click Outputs on the editor toolbar, and click Feature layer.
The Feature layer element is added to the canvas.
- Connect the output port of the Select fields element to the input port of the Feature layer element.
- Verify that the Geometry field is populated with the geometry value.
- For Output name, provide a unique title for the output feature layer.
- On the action bar at the top of the canvas, click Run.
The data pipeline is now running and the Latest run details console appears. Once the process is complete, the feature layer is shown on the Results tab.
- Optionally, click the feature layer to open its item page in ArcGIS Online.