This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Creating a list of literal responses

You can create a list of literal responses using the List analysis type.

  1. Click Toolbar: list on the Snap toolbar to create a list definition.
  2. Enter the literal variable definition in the Analysis field.
  3. Press [Apply] to display the list.

Using a derived literal response to generate a more comprehensible report

You can use derived literals to enter other text in your list. You can also convert dates, times and quantity variables to text in derived literals.

For example, in the Crocodile survey supplied with Snap, there is a date variable Q1.a and a literal variable Q8 for "Any other comments". To create a report with the information in a readable format, you can create a derived literal that writes the date a comment was received together with the comment, and then create a list analysis of the data.

  1. Click Variables window button to open the Variables window.
  2. Click New button to add a new variable.
  3. Set the type to Derived and the Response to Literal.
  4. Enter the text "Comment'{Q8}' was received on:{Q1.a}."

    Note that the variable names are enclosed in {} within the text. The quotation marks included in the text (') are different to those that mark the beginning and end of the text in the derived literal ("). (If you need to have double quotes (") in your text, you must use single quotes (') to mark the beginning and end of the text.

  5. You only want to list if there are comments, so in the Not Asked field, type unless Q8 ok. This means the your derived literal will be left empty if there is no comment

    Derived literal using Not Aked

  6. Click Save button to save the variable.
  7. Create a list as before, but use your new derived variable.

    Derived variable list showing comments with date

See Also

Printing literal responses

Exporting literal responses

Categorising literal responses

Combining literal responses with a coded question

Categorising postcodes

Pre-coding answers