Automatic coding in document sources

 

 

Automatic coding in document sources


You can auto code document sources based on paragraphs or paragraph styles.

What do you want to do?


 


Use consistent paragraph styles to auto code

If you have applied paragraph styles in your documents you can use them to automatically code the content.

For example—if you have a collection of question/answer interview documents, you could auto code to create a node for each question (based on heading 1 [H1] and heading 2 [H2] styles) and code all respondent answers at the nodes:

 

cn_paragraph_styles.gif

NOTE You can apply paragraph styles in Word before you import the source, or you can apply them in NVivo. For more information, refer to Format text (Apply a paragraph style).

To auto code using paragraph styles:

  1. In List View, select the documents you want to auto code.

  2. On the Analyze tab, in the Coding group, click Auto Code.

rn_analyze_coding.gif

The Auto Code dialog box opens.

  1. From the Code by list, select Paragraph Style.

  2. From the Available paragraph styles list, select the styles you want to use for coding.

  3. Click the right arrow button >> to add the styles to the Selected paragraph styles list.

NOTE A node is automatically created for each paragraph that is formatted in the selected style, and the text under the style is auto coded at the node. The order of the styles in the list determines how they are nested in the node hierarchy—the first style is the parent of the second and so on.

  1. Under Code at Nodes, select where you want to store the newly created nodes. Choose:

  1. (Optional) Select the Aggregate coding to parent node check box, if you want the content coded at child nodes to be shown in the parent node.
  2. Click OK.  

NOTE  

ic_top_of_page.gifTop of Page

Auto code to make a numbered node for each paragraph

You can auto code 'by paragraph'  if one or more documents are tightly structured—for example, paragraph 1 in each document is about fossil fuel and paragraph 2 is about government policy. NVivo makes a node for each paragraph and uses the paragraph number as the node name. You can rename the nodes as required.

To auto code by paragraph:

  1. In List View, select the documents you want to auto code.

  2. On the Analyze tab, in the Coding group, click Auto Code.

rn_analyze_coding.gif

The Auto Code dialog box opens.

  1. From the Code by list, select Paragraph.

  1. Under Code at Nodes, select where you want to store the newly created nodes. Choose:

  1. (Optional) Select the Aggregate coding to parent node check box, if you want the content coded at child nodes to be shown in the parent node.
  2. Click OK.

NOTE  

ic_top_of_page.gifTop of Page