Importing Data to QPR ProcessAnalyzer

From QPR ProcessAnalyzer Wiki
Revision as of 21:42, 5 January 2019 by Ollvihe (talk | contribs)
Jump to navigation Jump to search

This page describes how to import data to QPR ProcessAnalyzer using the Data Import view in the QPR ProcessAnalyzer Deployment Package.

Step 1: Imported File

First choose the file to be imported from you local disk drive. It's possible to import csv, pacm and xes files. If importing from a csv file, you need to define, whether the data contains cases or events. Pacm and xes files contain the entire QPR ProcessAnalyzer model, so with those formats no further selections are needed.

Step 2: Import Destination

Data can be imported to an existing QPR ProcessAnalyzer model or to a new model:

  • existing model: Select a project and model which the data will be import to. You can click the Open button to check the model that is currently selected.
  • new model: Select a project to which the new model will be created. Also define a name for the new model.

Step 3: CSV File Format (Optional)

When importing from a csv file, you need to define in what format the data is stored in the file. If uncertain, open the file and see its contents. Following settings can be set:

  • Column delimiter: Column delimiter is the character that separates data cells within a row. Usually the column delimiter is a semicolon or tab. It's possible to define any character by selecting the Other option.
  • Date format: Date format is used to interpret date values in the csv file. Default format is "yyyy-MM-dd HH:mm:ss,fff". More information about formatting: https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings.
  • Text qualifier: Text qualifier is the character used to enclose text (string) values. Sometimes csv files don't contain text qualifiers at all.

CSV files need to be UTF-8 encoded.

When importing cases from a CSV file, the first column must contain case ID's and the rest of the columns contain case attributes. When importing events, the column order in the CSV file must be the following:

  • 1. column: case ID's
  • 2. column: event type names
  • 3. column: event timestamps
  • 4. column and onwards: event attributes