Creating Segments

Arcadia Instant lets you easily create a new segment definition.

Follow these steps to create a new data segment in the dataset:

  1. On the main navigation bar, click Data.

    Click DATA on main nav

    The Data view appears, open on the Datasets tab.

    Main landing page of DATA
  2. Find the dataset in the list of datasets, either by scrolling or by using search, and click on it.

    We are using the dataset Flight Delays based on data previously imported into Arcadia from the data file flights-2014.csv (compressed). The additional data files are airline-id.csv, airport-codes.csv, cancellation-code.csv, and airport-lat-long.csv.

  3. Dataset side navigation appears, open at Dataset Detail view.
  4. In the side navigation menu, click Segments.

    Segments of the Dataset, Nothing Defined
    Segments of the Dataset, Nothing Defined

    The Segments view appears.

  5. In the Segments interface, click New Segment.

    Creating a New Segment
    Creating a New Segment
  6. In the Add Segment modal window that appears, make the following entries:

    • Under Segment Name, enter Delayed Flights.
    • Under Segment Group, enter Delay Status.
    • Under Filters, click the text box to open the Filter Expression modal window.
    Clicking inside the filter box in the Add Segment Modal Window to open a new window
    Add Segment Modal Window
  7. In the Filter Expression modal window, enter the following expression to show flights that are delayed:

    [airtime] IS NOT NULL AND [depdelay] > 0
  8. [Optional] Click Validate Expression to verify correctness.
    Entering an expression in the Filter Expression modal window
    Enter a Filter Expression
  9. Click Apply to save the filter and return to the Add Segment modal window.
  10. Notice that the new filter appears under Filters.

  11. Click Save.

    Displaying the Add Segment Modal window with values for the new segment
    Display Values for the New Segment
  12. The new segment definition appears in the Segments interface.

    Note the actions available for this segment: Edit, Clone, and Delete.

    Segments of the Dataset, One Segment Defined
    Segments of the Dataset, One Segment Defined
    To view how segments work in a visual, see Using Segments in Visuals.