Importing Data to QPR ProcessAnalyzer: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


== Step 1: Imported File ==
== Step 1: Imported File ==
First choose the file to be imported from your 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, or other data to be loaded into a [[Data_Tables_in_QPR_ProcessAnalyzer|data table]]. ''Pacm'' and ''xes'' files contain the entire QPR ProcessAnalyzer model, so with those formats no further selections are needed.
Choose a file to be imported from your disk drive. It's possible to import '''.csv''', '''.pacm''' and '''.xes''' files. If importing from a .csv file, define also whether the data contains cases, events or other data to be loaded into a [[Data_Tables_in_QPR_ProcessAnalyzer|data table]]. ''Pacm'' and ''xes'' files contain an entire QPR ProcessAnalyzer model.


== Step 2: Import Destination ==
== Step 2: Import Destination ==
Cases and/or events can be imported to an existing QPR ProcessAnalyzer model or to a new model:
Cases and/or events can be imported to an existing QPR ProcessAnalyzer model or the import can create a new model:
* '''Import to 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.
* '''Import to 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.
* '''Create New Model''': Select a project to which the new model will be created, and define a name for the new model.
* '''Create New Model''': Select a project to which the new model will be created, and define a name for the new model.


When importing a data table, the target project and data table name needs to be defined.
When importing a data table, the target project and data table name needs to be defined. It's only possible to import to a new data table.


== Step 3: CSV File Format ==
== Step 3: CSV File Format ==

Revision as of 08:52, 3 October 2019

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

Step 1: Imported File

Choose a file to be imported from your disk drive. It's possible to import .csv, .pacm and .xes files. If importing from a .csv file, define also whether the data contains cases, events or other data to be loaded into a data table. Pacm and xes files contain an entire QPR ProcessAnalyzer model.

Step 2: Import Destination

Cases and/or events can be imported to an existing QPR ProcessAnalyzer model or the import can create a new model:

  • Import to 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.
  • Create New Model: Select a project to which the new model will be created, and define a name for the new model.

When importing a data table, the target project and data table name needs to be defined. It's only possible to import to a new data table.

Step 3: CSV File Format

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

Csv files need to be UTF-8 encoded and size limit is 230mb (tested on Firefox).

When importing cases from a csv file, the first column must contain case ID and the rest of the columns are 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 name
  • 3. column: event timestamp
  • 4. column onwards: event attributes