Queries

Queries help you to explore your data and investigate hunches as you progress through your project. You can:

  • Find and analyze the words or phrases in your files and codes.
  • Ask questions and find patterns based on your coding and check for coding consistency among team members.

Create quick and simple queries to get a sense of what is happening in the data, or build detailed queries for a more focused perspective. Queries & visualizations

What are the different queries?

Query Description Examples

Text search

Find all occurrences of a word, phrase, or concept.

  • Use the text search results to find and code the words fishery policy OR regulation to code them to a new code such as government.

Word frequency query

Find the most frequently occurring words or concepts.

  • Look for the most frequently occurring words in a set of interviews to identify an underlying theme from their responses.

Coding query

Find all content coded to selected codes, a combination of codes, or a combination of codes and attributes.

  • Run a query to answer the question What do Recreational Fishers say about water quality? by gathering content that has been coded to “water quality” for cases with the attribute “Recreational Fishing = Yes”

    For more examples, refer the sample project in NVivo.

Matrix coding query

Find the coding intersections or co-occurrence of themes in your project and display this in a matrix.

  • Compare views on the local economy (defined as codes in rows) based on gender (defined as case attributes)

  • Compare the positive and negative attitudes of interviewees to different aspects of the local economy.

  • Explore how tourism is related to a range of themes including real estate development and environmental change.

Crosstab query

Check how coding is distributed across the cases, or different types of cases in your project.

  • Check how often interview respondents refer to a particular topic or issue.
  • Check how many interview respondents (with attributes) refer to a topic or theme.

Coding comparison query

Compare coding done by two users or two groups of users.

This query measures the 'inter-rater reliability' or the degree of agreement for coding done by selected users.

Compare coding between users in different locations or from different disciplines who are coding the same data to check the consistency of their coding.

Create a query

On the Explore tab, select the query you want to create.

Options on the Query ribbon.

By default, query results are discarded when you close a project, however you can save query settings to your project to run again, and save the results of some queries. Manage query results