Qualitative Data Analysis with NVivo
Student Resources
Mac
On this part of the website, you have free access to up to date click-by-click instructions for NVivo on Mac. Simply click on the headings below to reveal the instructions.
Use the index of click-by-click instructions as a companion guide to help you find the instructions you need, or browse through the instructions below that accompany this chapter.
As there are some functions in NVivo that can only be carried out in Windows, there are deliberate gaps in the Mac instructions numbering system when a tool is not available. This is so that the numbering system matches the book and the index of instructions.
5.a. Create a new Case Classification
- Ribbon: Create > Case Classification.
- Name the Classification > Done.
- We suggest you do not choose to use one of the predefined Classifications because they have predefined Attributes and Values that are unlikely to match your study.
Your new Case Classification will be listed in the List View (as in Figure 5.4).
5.b. Create Cases from imported Files, combining multiple Files into a single Case and classifying the Cases
Create Cases from imported Files (one File per Case)
- Navigation View: Data > Files > Select the Folder with your Files.
- List View: Select Files > Right-click > Create As > Cases.
- Optional: Create a Folder for your new Cases and move them into this Folder.
Combining multiple Files into a single Case
- Navigation View: Data > Files > Select the Folder with your Files.
- List View: Use Shift + click or Cmd + Click to select all the Files relating to a single Case from that Folder > Right-click.
- Code Files > At New Case > Name the Case > Done.
If the Case already exists:
- Select At existing Nodes or Cases > Select the word ‘Cases’ on left side (do not tick) and tick the Case on the right side > Select.
- All selected Files will be assigned to that Case (Figure 5.6).
- If the Files are in different Folders (e.g., because they contain data of different types), you will need to code the Files from each Folder in separate steps.
Figure 5.6 Coding multiple Files to a New Case (Windows)
If several Cases have already been created from each separate File (or an additional Case through Auto Coding from part of a shared File) when just one is what is wanted, then use Copy and Merge (Chapter 3) to combine the duplicated Cases into a single Case holding all of the relevant data. You will need to go back and delete the original.
Making Cases from sections of a File
Using participant names above or at the beginning of a paragraph
- Navigation View: Data > Files > Select the Folder with your Files.
- List View: Select the File with multiple (uniquely named) Cases within them > Right-click > Auto Code.
- By Speaker… > Auto Code Panel will open (Figure 5.10) > Complete the sections in the panel > Auto Code.
Figure 5.10 The Auto Code by Speaker panel (Mac)
Classifying the Cases
At several points along the way during these steps, you were either forced to add a Classification to the Case, or you had the option to do so. In either event, you can check that it worked, or assign the Classification.
- Navigation View: Cases > Cases.
- List View: Select a Case > Right-click > Classification > your Classification should be checked, or you can assign the Classification here by Selecting the correct option.
- Use your Shift key to select all of the Cases if you want to assign them to the same Classification.
5.c. Create Attributes and add Values, step by step
Create Attributes with Values
- Navigation View: Cases > Case Classifications > Right-click on the Classification you created earlier > New Attribute.
The New Attribute dialogue box will open (Figure 5.11)
- Provide a short Name for the new Attribute. Add a Description if needed for clarity.
- Select a data Type for the Values of the Attribute.
- Most Attribute Values will be Text, as that includes any combination of letters and numbers, or ranges of numbers, such as 20–29, 30–39. If the Attribute comprises numeric values only, then choose Integer (whole numbers) or Decimal to ensure that they can be correctly sorted. Date values can be entered in local format with day, month, and year, so if you want to record years only, then use Integer. A Boolean attribute can assume two values only (e.g., Yes, No; True, False). If you are uncertain which type to select, choose Text because this type will accommodate any alphanumeric combination.
- You will see two Values already listed: these are assumed to be valid options for any Attribute and they cannot be removed. The default Value is set at Unassigned, and in general you should leave this as the default.
- Use the + button on the bottom left to create new rows so you can type in the Values you need for this Attribute. When you are finished, click on Done. Further Values can be added later, if necessary.
Figure 5.11 Adding an Attribute and Values in Windows (left) and Mac (right)
Add Values to the Cases
- Navigation View: Cases > Case Classifications.
- List View: Double-click [your Classification] > Click on Classification Sheet tab.
- The Classification Sheet (Figure 5.12) will open in Detail View, with your Cases in the rows, and the Attributes you have created as the columns. Currently all the Values will be listed as Unassigned.
- Detail View: Click on the search icon for a cell of the Classification table and select an appropriate Value from the drop-down list for that cell. If the Value you want does not exist, double-click in the cell and overtype Unassigned with your new Value, followed by Enter. The new Value will be added to your list and made available for other Cases with the same Classification.
Figure 5.12 Classification Sheet with Attribute Values for interview participants (Windows)
When you are done, check one or two of your Cases to see that the Values are added:
- Navigation View: Cases > Case Classifications.
- List View > Click the Triangle next to your Classification.
- Click the Triangle next to the Case to show the list of Attribute Values for that Case.
5.d. Importing Attribute Values for Cases from Excel, SPSS, txt or csv
- Ribbon: Data: Classification Sheets.
- Import wizard: Step 1: Select the tab-delimited text file or csv file > Open.
- Import wizard: Step 2: Check you are importing Case Classification data.
- Create a new Classification (e.g., Person) or import into an existing one.
- Tick all three boxes:
- Create new attributes if they do not exist. This tells NVivo that you want to create the attributes listed in the first row of your table.
- Update the classification of existing items. This will connect the Cases listed in the table with the Classification identified.
- Replace Attribute Values of existing files or cases. If you are adding to or correcting any existing Attribute Values, even if all Values are Unassigned, this is required to overwrite the existing cells. Checking this box will never remove entire Attributes from the system: it simply changes Values in existing cells to match those in the table.
- Import wizard: Step 2:
- Classification > Choose to Create new classification or Import into existing classification > Next.
- Import wizard: Step 3:
- tab-delimited text: The full path for each Case will need to be specified in the table you are importing (e.g., Cases\\People\\Interview Participants\Barbara). Providing you have classified the cases and created at least one Attribute (no Values), you can obtain a ready-made table with the Case paths by right-clicking on the Classification to Export.
- Import wizard: Step 3: Uncheck Create new cases if they do not exist unless you are deliberately trying to create cases that don’t already exist in the Project. The danger of leaving this option checked is that you will accidentally create ‘empty’ Cases you do not want, especially if you are importing classification data from a larger statistical file > Next.
- Import wizard: Step 4:
- Import.
Review your classification data
- Navigation View: Cases > Case Classifications.
- List View: Double-click [your Classification] > Click on Classification Sheet tab.
- A table set out like your spreadsheet will open in Detail View, allowing you to quickly check if your data have imported as you expected.
- Check for any rows (Cases) in your Classification Sheet where all Values are Unassigned. Is this because they were not entered in your Excel spreadsheet, or because you did not write the name exactly as it is in NVivo, and so the Values for that Case did not import? If the latter, correct the error in the table, and reimport.
- If you make corrections inside NVivo (e.g., on reading the transcript for a Case), be sure to make the same correction in your Excel or SPSS data file in case you have need to import it again.
5.f. Running a Crosstab Query with Attributes
- Ribbon: Query > Crosstab. The Crosstab Query panel will open in the Detail View (Figure 5.14).
Figure 5.14 Crosstab Query interface (Mac)
- Detail View: Crosstab Criteria > Show node against > Attributes (the default).
- Add Nodes (or other Codes) to the rows of the Crosstab in one of two ways:
- Navigation View: Codes > Nodes > Select [your Nodes] and then drag from the List View to the Nodes box in the Crosstab Criteria dialogue; or
- Detail View: Crosstab Criteria > Click the + (plus symbol) at the bottom left of the Codes panel.
- Check the boxes next to the specific Nodes > Select.
- Use the – (minus symbol) to remove any unwanted selections.
- Select Attribute Values for the columns of the Crosstab:
- Detail View: Attributes > Classification > choose which Classification you will work with.
- Select the Attribute within that Classification (usually one) using the drop-down menu. The Values of this Attribute will define the columns for the Crosstab. If a second Attribute is selected, the Values for the second will be shown for each value of the first.
- Tick if you want to Include “Unassigned” and “Not Applicable” values.
- Detail View: Check options at the bottom of the Crosstab Criteria dialogue:
- Crosstab Criteria > Search in: Choose whether you want all Files & Externals, Selected Items (particular Files, Nodes, Cases, or Sets), or all files within Selected Folders to be included in the analysis.
- Save Query allows you to store the specification for the Crosstab so that you can run it again at a later time, for example, if you add to or change your data in some way, or for a different Folder of Files or Selected Items.
- Run Query.
- Save Results will store the results for future reference. Saved Results will not be updated if your data change.
- Detail View: Results tab > Refine the display using options in Show results as, Show cell values as, Transpose, Heat map, Table headers groups (Figure 5.16).
- Detail View: Double-click on a cell in the Crosstab to see the text associated with that combination of Node and Attribute Value (and see Chapter 7 for additional information).