Edit Data File Relationships
When an analysis is conducted between variables in multiple data files, Displayr needs to work out how observations in the data files relate to each other. That is, it needs a rule by which to merge the data files. In order to create a relationship between two files, there must be a variable in both files which contains the same type of data (text, categorical, dates, etc.) and has some values which match.
To view or edit data file relationships, open the Edit Relationships dialog:
- Click on any data source in the Data Tree
- Click on Properties > Edit Relationships in the Object Inspector
This dialog shows a list of the current data file relationships. In order to crosstab questions from two different data files, those two data files must have a relationship that appears in this list.
To see more detail about a relationship, edit the relationship by clicking on it in the list. This opens the Edit Data File Relationship dialog, as does clicking the New button. To delete a relationship, move the mouse over the relationship, and then click on the Delete button which appears to the right of the relationship. Save any changes made to the list of relationships by pressing the OK button.