Run a Coding query


What do you want to do?


 


Understand Coding queries

Coding queries can help you to test ideas, explore patterns and see the connections between the themes, topics, people and places in your project. For example, you could use a coding query to

NOTE A coding query will only find content that has been coded. For example, if you ask the question what do fishery employees say about rising sea levels?—make sure you have coded source content at the node rising sea levels and at nodes with the attribute fishery employee.  

ic_top_of_page.gifTop of Page

Run a Simple Coding query

To see what has been coded at a node, you can simply open the node (double-click in List View). You can use a  simple coding query to see content coded at a node limited by a specific scope—for example, you could find all content coded at coastal habitat in the Government Reports folder.

  1. On the Explore tab, in the Queries group, click New Query, and then click Coding.

rn_explore_queries.gif

The Coding query dialog box opens with the Simple tab in focus.

  1. Under Search for content coded at select:

  1. To find content coded by a specific user, select By Any Selected Users—click the Select button to select the user.

  1. To change the scope of the query:

  1. Click Run.

NOTE

ic_top_of_page.gifTop of Page

Run an Advanced Coding query

You can use Advanced Coding queries to search for source content that has been coded at multiple nodes—and you can use operators to further refine the search.  To run an Advanced Coding query:

  1. On the Explore tab, in the Queries group, click New Query, and then click Coding.

rn_explore_queries.gif

The Coding query dialog box opens.

  1. Click the Advanced tab.

  2. In the Define more criteria box follow the steps to build the query criteria:

coding_query_define_criteria.gif

a  Select whether you are looking for content Coded at or Not Coded at the selected nodes.

b  Select whether you are looking for content coded at all or any of the selected nodes. You can also look for content coded at any classified node with a specific attribute value. Click the Select button to choose the nodes or attribute values.

c  (Optional) From the list, select coding done by any user or choose only the coding done by specific users—click the Select button to choose the users.

d Click the Add to List button. The criteria is added to the Search for content matching these criteria list.

e To combine multiple criteria, choose an option from the list and follow steps a to d.

  1. (Optional) Edit the criteria list in the Search for content matching these criteria box:

  1. (Optional) To change the default scope for the query:

  2. From the In list, select the items you want to include in the query. For example, search all sources or selected nodes.

  3. From the Where list, you can specify to search project items created and/or modified by any or selected users.

  1. Click Run.

NOTE

ic_top_of_page.gifTop of Page

Understand the results

By default, the results of a coding query are displayed as a node in Detail View—the Reference tab is in focus:

cn_node_reference_no_callout_tab.gif

Click the tabs on the right to see the content that has been coded in text (documents, memos and externals), audio, video, picture or dataset sources.

By default the results are displayed in a preview node—you can choose to save this node in the results folder or in another node folder, refer to Manage query results for more information.

NOTE

ic_top_of_page.gifTop of Page

View examples of Coding query criteria

The following examples show how you can build query criteria to answer specific questions:

Search for content matching these criteria:

Content Coded At rising sea level

AND Coded at any node where
Occupation = Fishery employee

 

Search for content matching these criteria:

Content Coded At rising sea temperatures

NEAR  Content Coded at coral bleaching

 

ic_top_of_page.gifTop of Page