Exporting sample (AskiaLister)

AskiaLister allows you to export sample from the currently open sample file.

To export sample:

  1. Open the sample list from which you want to export data (to open a list, select open from the file menu).

  2. In the tools menu, select export. The export list dialog appears.

  3. In the field list, select the fields that you want to export. You can quickly select all of the fields by clicking select all, or de-select all of the fields by selecting unselect all.

  4. If you want to view Askia's hidden fields, select display system fields. By default, these are selected.

  5. If you want to export call information, select export calls. This option will only take effect if you are exporting to a list file.

  6. You can define a logical expression to control which records are exported (i.e. you can include or exclude records in the export if they contain certain information, for example exporting only records which have had successful interviews). See logical expressions during export for further details.

  7. Click OK.

  8. In save as type, select the type of file you want to create. You can select Askia list format (lst), Access (mdb, accdb), Excel (xls, xlsx) or comma-separated (csv).

  9. Specify a name and location for your file, and click save.

Logical expressions during export

You can use logical expressions to determine which records are exported. This allows you to export a subset of the data, instead of every record. For example, you might want to export a list of records where there has not been a successful interview. You can manually define an expression, or load one that has already been defined.

Predefined export

To load a predefined export, simply select it from the drop-down list at the top of the export list dialog:

select_prefeined_export

When AskiaLister is first installed, you will find three predefined expressions. These are:

To define a new condition:

  1. Click new:

  2. Define your expression (see defining your own expressions, below). When you are ready, you can save the condition (see below).

If you make changes to a predefined condition, you can save these changes.

To save an expression:

  1. Set up the condition to your liking (see defining your own expressions, below).

  2. Click save:

    predefined_export_save

To rename an existing pre-defined expression:

  1. In the drop-down list, select the expression you want to rename.

  2. Click rename:

    predefined_export_rename

  3. Type a new name for the item, and click OK.

 

To delete an existing pre-defined expression:

  1. In the drop-down list, select the expression you want to delete.

  2. Click delete:

    predefined_export_delete

Defining your own expressions

You can define your own logical expressions, in order to control which records will be included in the export. For example, you might want to export only the records that have e-mail addresses (i.e. records that contain data in the e-mail address field).

Before you add a new expression, ensure that one is not already displayed in the export list dialog. Expressions appear as follows (the details will vary, depending on the particular expression):

export_list_condition_example

If a expression is displayed, click new:

This will start afresh with a new logical expression.

Logical expressions are made up of one or more conditions. You can build up sophisticated logical structures in order to determine which records will be exported. Conditions that are evaluated together within the sample logical expression are shown within the same box. When you have two or more conditions, you must specify the relationship between them by selecting OR or AND between them:

For example, the above expression selects the records for potential respondents who have never been contacted.

A condition consists of a field name, an operator and a value. For example:

Field

Operator

Value

Telephone

EQUAL TO

NULL

 

This condition is true if the record has no information in the Telephone field. When you run the export, only fields with no telephone number will be included.

To change the field, simply click it and select another one from the drop-down list.

To change the logical operator, click it and select from the list as follows:

 

To change the value, click it. Depending on the field type, you either type in a new value (e.g. NULL or 1), or for result code fields (e.g. AskLastTelephonyResult), you will be prompted to select the relevant values:

 

result_code_selection

Select all the values that you want to include in your condition. You can quickly select the entire list or codes, or no codes at all, by clicking select all or select none respectively.

Working with multiple logical conditions

When you add a second (or subsequent) logical condition, it is evaluated in relation to the other condition/s in your expression. An operator (OR or AND) is shown between conditions, and this determines how the conditions interact. You should ensure the appropriate operator is selected for the relationship between the two conditions. If you require both conditions to be true for a record to be selected, you should select AND. If you require at least one of them of them to be true, you should select OR. To change an operator, simply click it and select a different one from the drop-down list.

You can add or remove conditions by clicking the following controls:

Create your own Knowledge Base