A Cross Survey View provides a means of querying similar questions across multiple surveys. For example, an organization has fielded four surveys over the past year, covering four different topics. All of the surveys, however, asked participants for their age. It is desired to get a broad overview of the ages of everyone who has responded to the surveys.
To do this, a cross survey view can be created with a question called AGE, and then “map” the AGE question on the virtual survey to the questions about age on each of the four surveys fielded. When a cross survey variable is mapped to a question on an actual survey, it is telling Illume to include results from that question whenever with every query on that variable.
In the diagram below, the cross survey question AGE is mapped to four questions on four different surveys.
Once this cross survey view is saved, it will appear in the list of Cross Survey Views in the Data Manager, and can be queried just like any other survey.
When querying a cross survey view, the results for each variable come from all of the questions to which the variable is mapped. Querying on the AGE variable in the diagram above returns 7000 results:
Note that when mapping cross survey variables, differences in question prompts and ids do not matter. All that matters is that the questions share the same general data type. That is, all the questions to which a variable maps must be numeric; or they must all be true/false; or they must all be text questions. Illume prevents mixing data types because it is impossible to construct meaningful and reliable queries against inconsistent data types.
Like normal surveys, cross survey views belong to projects. They are listed under the Cross Survey Views tab of the project page of the project to which they belong.
The process of creating a cross survey view consists of these steps:
Cross survey views appear and behave just like actual surveys in the Data Manager. However, they have a few qualities that distinguish them from actual surveys.
Follow these steps to create a cross survey view:
To edit a cross survey view:
Only the creator of the cross survey view can edit it, users cannot edit cross survey views created by others.
To add items to the cross survey view:
When adding a new survey to a cross survey view that already includes a set of questions, Illume will automatically match questions on the new survey to existing questions that have the same name and data type.
After adding a survey to the cross survey view, follow these steps to add questions:
Whenever possible, Illume will automatically map questions in a newly added survey to questions in the cross survey view. Illume does this by looking for survey questions whose name and data type match the name and data type of an item on the cross survey view.
If Illume is not able to automatically map a question, or to change the mapping that Illume created, follow these steps:
The question selected now appears in the cross survey view.
To remove a survey from a cross survey view, click the Delete Survey icon next the name of the survey to remove.
To remove a question from a cross survey view, check the box to the left of the question name in the far left column of the cross survey view grid, then click the Delete Question icon at the top.
To remove a question mapping, click the Delete Mapping icon to the right of the mapping you want to remove.
Like survey questions, cross survey questions have a data type. A cross survey questions’s data type is the type of the first question mapped to the variable. If the first question mapped to the virtual survey variable is a Whole Number, then the cross survey question is a Whole Number.
Once the variable’s data type is set, only other survey questions of the same data type can be mapped.
There is a little bit of flexibility in this rule. All numeric types are considered to be simply numeric; the variable mappings do not distinguish between “Whole Numbers”, “Decimal Numbers”, and “Whole Numbers = 0”. Mappings also do not distinguish between Text type questions (short text) and commentary questions (long text). Both are considered to be simply text.
The following table summarizes which type mappings are legal.
Data Type | Can Map To… |
Yes/No | Yes/No |
Text | Text |
Whole Numbers | Whole Numbers Whole Numbers = 0 Decimal Numbers |
Whole Numbers = 0 | Whole Numbers Whole Numbers = 0 Decimal Numbers |
Decimal Numbers | Whole Numbers Whole Numbers = 0 Decimal Numbers |
Date/Time | Date/Time |
Date | Date |
Time | Time |
Currency | Currency |
Checkall Summary | Checkall Summary |
Data can be limited in a cross survey view by adding filters.
To add filters to a cross survey view:
The new filter(s) appear at the top of the cross survey grid.
The process for creating filters here is very similar to the process of creating query filters.
Cross survey views may include filters to limit the data that show up when users run queries. This makes filters an effective means of segregating data.
For example, assume a fielded survey called “My Survey,” that has collected 1000 responses. Data privacy rules may dictate that a restricted analyst in your organization can have access only to data submitted by certain participants: such as those over 18 who have explicitly opted in to a program.
Let’s assume “My Survey” includes about 600 participants who meet these criteria.
By creating a cross survey view called “My Survey View” containing all of the questions from “My Survey,” then adding the filters AGE >= 18 and OPT_IN = Yes. “My Survey View” effectively becomes a restricted view of the original survey, including results from only those 600 participants who meet the criteria.
This view can now safely be shared with the restricted analyst described above.
Simply enable the view and check the “shared” option so that others may see it.
Make sure the restricted analyst has no rights to see the original “My Survey,” but does have rights to see “My Survey View.” (The System Administrator, who is responsible for creating Users, can set roles and privileges for each User in the system.)
4To edit the properties of a cross survey view from the Project page:
To edit properties from the Cross Survey View page, click the Properties button in the upper right corner of the page.
The properties dialog includes the following properties:
Edit these as necessary and click OK to save the changes.
A cross survey view must be enabled before it can be queried.
To enable a cross survey view, click the Enable for Querying button at the top of the cross survey view edit page.
Cross survey views are private by default. That is, only the user who created the view can see, edit, or query it.
To allow others to query the cross survey, it must be shared:
This enables other users to query the most recently enabled version of the cross survey view. If the view is still being edited, other users will not see the edits until that version is enabled.
Questions on a cross survey view have the same general properties as questions in a normal survey: a name, description, data type and scale. As with normal survey questions, these properties appear in the data dictionary and can be very useful to data analysts.
To edit the properties of a cross survey question, click the edit icon next to the question name on the cross survey
page. This appears in the far left column of the cross survey view grid.
This brings up the Cross Survey Item Details dialog, in which you can edit the question’s name, description and scale.
When a cross survey question is created, its scale comes from the original question on the survey from which the question was added.
For example, the cross survey view includes three surveys: Survey_1, Survey_2, and Survey_3. It also includes a question called AGE. If AGE was originally added to the view from Survey_1, the scale for AGE comes from the AGE question on Survey_1. If AGE was originally added from Survey_3, the scale for AGE comes from Survey_3.
At times, the scales for a single question may differ across surveys.
For example, two of the surveys may use this scale:
Value | Label |
1 | Under 18 |
2 | 18 – 35 |
3 | 36 – 49 |
4 | 50 – 65 |
The third survey may use this scale:
Value | Label |
1 | Under 18 |
2 | 18 – 35 |
3 | 36 – 49 |
4 | 50 – 65 |
5 | Over 65 |
It may be desired for the cross survey view to use the scale from the third survey, rather than the first two, since the third scale includes more options.
To do this:
In some cases, several of the questions you have mapped to a cross survey question may have different scales. When this happens, it may be desireable to include all of the scale values from all of the scales.
To do this:
If the survey questions included in the cross survey view question have mismatched scales, there are two possible consequences.
The first is relatively harmless and is easy to fix; the second may be harmful because it can lead to incorrect analysis of the data.
Case 1: Some Questions Include Scale Values Not Found in Other Questions
Assume Survey_1 and Survey_2 have a question called GENDER with the following scale:
Value | Label |
1 | Male |
2 | Female |
Assume the GENDER question on Survey_3 has this scale:
Value | Label |
1 | Male |
2 | Female |
3 | I choose not to answer |
By default, the scale for each question in the cross survey view comes from the first item mapped to the question.
Let’s assume in this case that the GENDER question was first mapped from Survey_1. The scale, then, will include only the two values for male and female.
When this cross survey view is queried, the results may include response values 1, 2, and 3 (since 3 was a valid response on Survey_3).
The summary results for your query will look like this:
Value | Label |
1 | Male |
2 | Female |
3 | ?? |
Because 3 is not on the cross survey question’s scale, the Data Manager does not know what response 3 represents.
The solution to this problem is to regenerate the scale for cross survey question as a union of all survey scales. This will ensure that any value found on the scale of any of the mapped questions appears in the scale.
NOTE: When Illume creates a union of scales, the label for each scale item comes from the first question that includes the scale value.
For example, if the label for value 2 is Female on Survey_1 and FEMALE on Survey_2, the label that ultimately appears in the data dictionary and on the summary results page will be Female (from Survey_1).
Case 2: Questions with Conflicting Scales
If the scales of the questions on the cross survey view are in direct conflict, that is a problem that Illume cannot resolve, and the results of the cross survey queries will produce incorrect summary data.
Assume Survey_1 and Survey_2 have a question called GENDER. Survey_1 uses the following scale:
Value | Label |
1 | Male |
2 | Female |
But Survey_2 uses this scale:
Value | Label |
1 | Female |
2 | Male |
The cross survey will take the scale of the first question mapped as the scale for the cross survey question. This means that all responses with a value of 1 will be reported as Male in the summary results of a query on GENDER. All responses with a value of 2 will be reported as Female.
This is obviously incorrect for anyone who submitted Survey_2.
Even if there is a union of all scales, Illume has to pick one label for each of the scale values, and it picks the label from the first question mapped. That is, 1=Male and 2=Female.
Again, Illume will report incorrect summary data for participants who submitted Survey_2.
The only solution to this problem is to be consistent when designing surveys, and to avoid creating cross survey variables from questions that have conflicting scales.
Illume’s repository was designed specifically to avoid the problem of conflicting scales by ensuring that repository questions are consistent from one survey to the next.
This article contains detailed information about the restrictions that apply to mapping variables across surveys. It also points out the potential consequences of mapping variables with mismatched scales.
Like survey questions, virtual survey variables have a data type. A cross survey variable’s data type is the type of the first question to which you map the variable. If the first question to which you map your cross survey variable is a Whole Number, then your cross survey variable is a Whole Number.
Once the variable’s data type is set, you can map only to other survey questions of the same data type.
There is a little bit of flexibility in this rule. All numeric types are considered to be simply numeric; the variable mappings do not distinguish between “Whole Numbers”, “Decimal Numbers”, and “Whole Numbers = 0”. Mappings also do not distinguish between Text type questions (short text) and commentary questions (long text). Both are considered to be simply text.
The following table summarizes which type mappings are legal.
Data Type | Can Map To… |
Yes/No | Yes/No |
Text | Text |
Whole Numbers | Whole Numbers Whole Numbers = 0 Decimal Numbers |
Whole Numbers = 0 | Whole Numbers Whole Numbers = 0 Decimal Numbers |
Decimal Numbers | Whole Numbers Whole Numbers = 0 Decimal Numbers |
Date/Time | Date/Time |
Date | Date |
Time | Time |
Currency | Currency |
Checkall Summary | Checkall Summary |
When you create a cross survey variable, the variable’s scale is set to the scale of the first question to which you map the variable.
For example, assume you create a cross survey variable called GENDER to collect gender information from Survey_A and Survey_B.
This is how the gender question appears on Survey_A (response values appear in parentheses):
What is your gender?
This is how the question appears on Survey_B (response values in parentheses):
What is your gender?
If you map the cross survey variable to the gender question on Survey_A first, then the scale for the variable will have two values: Male (1) and Female (2). If you map it to the gender question on Survey_B first, the scale will have three values: Male (1), Female (2) and Other (3).
This has implications when you view query results. If you map the variable first to the item on Survey_A, so that it has only the Male/Female scale, you will see results similar to the following when you query:
Response Value | Response Label | Count | Percent |
1 | Male | 98 | 49% |
2 | Female | 100 | 50% |
Unknown | Unknown | 2 | 1% |
The two unknown responses came from Survey_B. Because the scale from the virtual survey’s GENDER question includes only Male (1) and Female (2), all responses outside of the scale are lumped together and reported simply as “unknown.”
In this case, it would be wise to map GENDER to the Survey_B question first, because that one has the broader scale.
The following case represents a more problematic scenario. Assume again that we create a virtual survey variable called GENDER that maps to gender questions on Survey_C and Survey_D.
This is how the question appears on Survey_C:
What is your gender?
This is how it appears on Survey_D:
What is your gender?
These questions have mismatched scales, and mapping them to the same virtual survey variable is guaranteed to yield unreliable results.
Again, the virtual survey variable uses the scale of the first item mapped as its own scale. If you map first to the question on Survey_C, the scale will be Male(1), Female(2).
The problem here is that all of the “1” answers collected on Survey_D will be reported as Male, when in fact, anyone choosing option 1 on Survey_D was indicating “Female.”
Assume, for example, that Survey_C had 50 respondents, and they were all men. Survey_D had 100 respondents, and they were all women. When you get the summary statistics for the GENDER variable on this virtual survey, you will see something like this:
Response Value | Response Label | Count | Percent |
1 | Male | 150 | 100% |
2 | Female | 0 | 0% |
All of the “Female” responses from Survey_D are incorrectly represented as Male due to the mismatched scales.
There is currently no solution or work-around to this issue.
The best preventive measure is to ensure that question scales are consistent from survey to survey. Illume’s repository was designed specifically to enforce this kind of consistency. Repository questions include version numbers and strict controls to ensure they produce meaningful results when queried across surveys.