Hierarchical factors in Causal Map
(This section is about implementing hierarchical coding in the Causal Map app. See also the previous section on hierarchical coding in general.)
Creating labels
Factors can optionally be expressed as part of a hierarchy by using semi-colons.
For readability, it is usual to leave a space after the semi-colon, but this makes no difference to the functionality.
Organising your factors using the Factor Editor
In Causal Map, the process of organising the factors into this kind of hierarchical structure can be conveniently carried out in the Factor Editor tab which is a simple text editor where you can edit any labels you have created during coding. It lists the currently visible factor labels, sorted alphabetically.
This editor has many features such as global search and replace, and multiple cursors, which make it easy to rapidly edit many factor labels.
Using this panel you can also combine several factors into one and split one factor into several.
Here are a lot more tips for using the Factor Editor.
Here it is easy to “move” an (incorrectly labelled) factor
Health behaviour; understanding of germ theory
to something like
Health knowledge; understanding of germ theory
simply by retyping it: replace “behaviour” with “knowledge”.
Or you might want to “move” your factor somewhere else entirely, relabelling it as
Real-world knowledge; health; understanding of germ theory
… without worrying whether the higher-level factor Real-world knowledge even exists elsewhere in your file.
Additional calculated fields
When you use hierarchies, the app adds some fields to the factors table which help you do searching and filtering with hierarchical ideas.
One such field is top_level_label
which gives just the top level for each factor.
Additional functionality when creating and editing links
Once you have created at least one hierarchical factor, i.e. one with a “;” in its label, the influence factor box and consequence factor box have some additional functionality to help you.
- Now, when you start to type, the list of existing factors which you can choose from is extended to include existing factor components, even if they have not (yet) been coded as such. This means it is easier to add new detail to existing or implied higher-level factors.
Quick tails: quickly adding new “daughters” of an existing “mother”
Suppose you want to create a new factor Health behaviour; wearing a mask and you know there is an existing higher-level factor Health behaviour but there is not yet any factor Health behaviour; wearing a mask.
- You can select Health behaviour from the list and then just add ; wearing a mask with a leading semi-colon. These two fragments will be combined into the desired factor label. This is quicker and ensures you don’t end up with different spellings of the higher-level factors.
- This second component can itself have a semi-colon, so you can do this: health behaviour ; hand washing; before meals.
- Also you can do this multiple times: health behaviour ; washing hands ; washing pots . This can be useful when you have to code a list of things which are all examples of some higher-level idea. This example will produce: health behaviour; washing hands and health behaviour; washing pots .
Additional functionality when searching for and filtering factors
The same principle applies in the Search and Filter Factors box: you can see factors you have already used but also implied higher-level factors (like Health behaviour) and other factor components, beginning with a semi-colon (;
).
How can I view just the factors where I have applied hierarchical coding?
Sometimes you only want to use hierarchical coding for a few of your factors. To view just those, you could create a mini map including just the factors which you have hierarchically coded (and one step up or down from them), by searching for ;
in the factor labels, but then zooming the factors out to just see the top level.
… which is equivalent to