These functions remove one or more codes from a source, and make it easy to justify that decision.
recode_delete(
input,
codes,
filter = TRUE,
output = NULL,
filenameRegex = ".*",
outputPrefix = "",
outputSuffix = "_rcDeleted",
childrenReplaceParents = TRUE,
recursiveDeletion = FALSE,
decisionLabel = NULL,
justification = NULL,
justificationFile = NULL,
preventOverwriting = rock::opts$get("preventOverwriting"),
encoding = rock::opts$get("encoding"),
silent = rock::opts$get("silent")
)
One of 1) a character string specifying the path to a file
with a source; 2) an object with a loaded source as produced by a call
to load_source()
; 3) a character string specifying the path to a directory
containing one or more sources; 4) or an object with a list of loaded
sources as produced by a call to load_sources()
.
A character vector with codes to remove.
Optionally, a filter to apply to specify a subset of the
source(s) to process (see get_source_filter()
).
If specified, the recoded source(s) will be written here.
Only process files matching this regular expression.
The prefix and suffix to add to the filenames when writing the processed files to disk, in case multiple sources are passed as input.
Whether children should be deleted (FALSE
)
or take their parent code's place (TRUE
). This is ignored if
recursiveDeletion=TRUE
, in which case children are always deleted.
Whether to also delete a code's parents (TRUE
),
if they have no other children, and keep doing this until the root is
reached, or whether to leave parent codes alone (FALSE
). This takes
precedence over childrenReplaceParents
.
A description of the (recoding) decision that was taken.
The justification for this action.
If specified, the justification is appended to
this file. If not, it is saved to the justifier::workspace()
. This can
then be saved or displayed at the end of the R Markdown file or R script
using justifier::save_workspace()
.
Whether to prevent overwriting existing files
when writing the files to output
.
The encoding to use.
Whether to be chatty or quiet.
Invisibly, the recoded source(s) or source(s) object.
### Get path to example source
examplePath <-
system.file("extdata", package="rock");
### Get a path to one example file
exampleFile <-
file.path(examplePath, "example-1.rock");
### Load example source
loadedExample <- rock::load_source(exampleFile);
### Delete two codes, moving children to the codes' parents
recoded_source <-
rock::recode_delete(
loadedExample,
codes=c("childCode2", "childCode1"),
silent=FALSE
);
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 132 utterances in the provided source, 132 are selected by the filter, 4 of which contain the code text.
#> --------PRE: ~specimen book. [[parentCode1]] [[childCode1]] [[intensity||2]]
#> POST: ~specimen book. [[parentCode1>childCode2]] [[childCode1]] [[intensity||2]]
#> --UNCHANGED: ~still in their infancy. [[parentCode1>childCode1>grandchildCode2]]
#> --UNCHANGED: accompanied by English versions from the 1914 translation by H. Rackham. [[childCode1>grandchildCode2]]
#> --UNCHANGED: reasonable. The generated Lorem Ipsum is therefore always free from [[grandchildCode2]]
#> Deleted 1 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 132 utterances in the provided source, 132 are selected by the filter, 6 of which contain the code text.
#> --------PRE: Lorem Ipsum is simply dummy text of the printing and typesetting industry. [[parentCode1]]
#> POST: Lorem Ipsum is simply dummy text of the printing and typesetting industry. [[parentCode1>childCode1]]
#> --------PRE: ~specimen book. [[parentCode1]] [[intensity||2]]
#> POST: ~specimen book. [[parentCode1]] [[childCode1]] [[intensity||2]]
#> --------PRE: using 'Content here, content here', making it look like readable English. [[parentCode1>grandchildCode1]]
#> POST: using 'Content here, content here', making it look like readable English. [[parentCode1>childCode1>grandchildCode1]]
#> --------PRE: ~still in their infancy. [[parentCode1>grandchildCode2]]
#> POST: ~still in their infancy. [[parentCode1>childCode1>grandchildCode2]]
#> --------PRE: by accident, sometimes on purpose (injected humour and the like). [[parentCode1>grandchildCode3]]
#> POST: by accident, sometimes on purpose (injected humour and the like). [[parentCode1>childCode1>grandchildCode3]]
#> --------PRE: accompanied by English versions from the 1914 translation by H. Rackham. [[grandchildCode2]]
#> POST: accompanied by English versions from the 1914 translation by H. Rackham. [[childCode1>grandchildCode2]]
#> Deleted 6 occurrences of code 'childCode1'.
#>
### Process an entire directory
list_of_recoded_sources <-
rock::recode_delete(
examplePath,
codes=c("childCode2", "childCode1"),
silent=FALSE
);
#> The path to a directory was passed; loading all sources matching regular expression '.*'.
#>
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/anchor-example-1.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/attitude.dct'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/attributes.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/behavior.dct'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/ci_example_1.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/doc-to-test.docx'.
#> Warning: input string 1 is invalid UTF-8
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/example-1.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/example-2---codes-only.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/example-2---section-break.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/example-2---uncoded.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/example-2.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/exampleCodebook_1.xlsx'.
#> Warning: input string 1 is invalid UTF-8
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/intention.dct'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/kristina-example-1.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/longer-test.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/lorum-ipsum.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/lorum-ipsum2.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/merging-test-1-primary.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/merging-test-1-secondary.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/network-example-1.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/network-example-2.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/perceived_behavioral_control.dct'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/perceived_norm.dct'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/second-test-file.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/simple-rpe-example.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/spreadsheet-import-test.csv'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/spreadsheet-import-test.xlsx'.
#> Warning: input string 1 is invalid UTF-8
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/state-example-1.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/streams/Source1_StreamA.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/streams/Source1_StreamB.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/streams/Source1_StreamC.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/streams/Source2_StreamA.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/streams/Source2_StreamB.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/streams/Source2_StreamC.rock'.
#> Loading source from file '/tmp/RtmpkiPh45/temp_libpath3924362ed76113/rock/extdata/video-stream-example.rock'.
#> I just loaded 35 sources.
#>
#> A list of loaded sources was passed; processing them sequentially.
#>
#> Processing source 'anchor-example-1.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 13 utterances in the provided source, 13 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 13 utterances in the provided source, 13 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'attitude.dct'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 82 utterances in the provided source, 82 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 82 utterances in the provided source, 82 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'attributes.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 15 utterances in the provided source, 15 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 15 utterances in the provided source, 15 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'behavior.dct'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 9 utterances in the provided source, 9 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 9 utterances in the provided source, 9 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'ci_example_1.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 20 utterances in the provided source, 20 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 20 utterances in the provided source, 20 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'doc-to-test.docx'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 1 utterances in the provided source, 1 are selected by the filter, 0 of which contain the code text.
#> Deleted NA occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 1 utterances in the provided source, 1 are selected by the filter, 0 of which contain the code text.
#> Deleted NA occurrences of code 'childCode1'.
#>
#> Processing source 'example-1.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 132 utterances in the provided source, 132 are selected by the filter, 4 of which contain the code text.
#> --------PRE: ~specimen book. [[parentCode1]] [[childCode1]] [[intensity||2]]
#> POST: ~specimen book. [[parentCode1>childCode2]] [[childCode1]] [[intensity||2]]
#> --UNCHANGED: ~still in their infancy. [[parentCode1>childCode1>grandchildCode2]]
#> --UNCHANGED: accompanied by English versions from the 1914 translation by H. Rackham. [[childCode1>grandchildCode2]]
#> --UNCHANGED: reasonable. The generated Lorem Ipsum is therefore always free from [[grandchildCode2]]
#> Deleted 1 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 132 utterances in the provided source, 132 are selected by the filter, 6 of which contain the code text.
#> --------PRE: Lorem Ipsum is simply dummy text of the printing and typesetting industry. [[parentCode1]]
#> POST: Lorem Ipsum is simply dummy text of the printing and typesetting industry. [[parentCode1>childCode1]]
#> --------PRE: ~specimen book. [[parentCode1]] [[intensity||2]]
#> POST: ~specimen book. [[parentCode1]] [[childCode1]] [[intensity||2]]
#> --------PRE: using 'Content here, content here', making it look like readable English. [[parentCode1>grandchildCode1]]
#> POST: using 'Content here, content here', making it look like readable English. [[parentCode1>childCode1>grandchildCode1]]
#> --------PRE: ~still in their infancy. [[parentCode1>grandchildCode2]]
#> POST: ~still in their infancy. [[parentCode1>childCode1>grandchildCode2]]
#> --------PRE: by accident, sometimes on purpose (injected humour and the like). [[parentCode1>grandchildCode3]]
#> POST: by accident, sometimes on purpose (injected humour and the like). [[parentCode1>childCode1>grandchildCode3]]
#> --------PRE: accompanied by English versions from the 1914 translation by H. Rackham. [[grandchildCode2]]
#> POST: accompanied by English versions from the 1914 translation by H. Rackham. [[childCode1>grandchildCode2]]
#> Deleted 6 occurrences of code 'childCode1'.
#>
#> Processing source 'example-2---codes-only.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 5 utterances in the provided source, 5 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 5 utterances in the provided source, 5 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'example-2---section-break.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 1 utterances in the provided source, 1 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 1 utterances in the provided source, 1 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'example-2---uncoded.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 16 utterances in the provided source, 16 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 16 utterances in the provided source, 16 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'example-2.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 29 utterances in the provided source, 29 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 29 utterances in the provided source, 29 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'exampleCodebook_1.xlsx'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 1 utterances in the provided source, 1 are selected by the filter, 0 of which contain the code text.
#> Deleted NA occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 1 utterances in the provided source, 1 are selected by the filter, 0 of which contain the code text.
#> Deleted NA occurrences of code 'childCode1'.
#>
#> Processing source 'intention.dct'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 23 utterances in the provided source, 23 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 23 utterances in the provided source, 23 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'kristina-example-1.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 59 utterances in the provided source, 59 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 59 utterances in the provided source, 59 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'longer-test.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 146 utterances in the provided source, 146 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 146 utterances in the provided source, 146 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'lorum-ipsum.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 16 utterances in the provided source, 16 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 16 utterances in the provided source, 16 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'lorum-ipsum2.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 16 utterances in the provided source, 16 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 16 utterances in the provided source, 16 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'merging-test-1-primary.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 24 utterances in the provided source, 24 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 24 utterances in the provided source, 24 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'merging-test-1-secondary.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 23 utterances in the provided source, 23 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 23 utterances in the provided source, 23 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'network-example-1.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 29 utterances in the provided source, 29 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 29 utterances in the provided source, 29 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'network-example-2.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 36 utterances in the provided source, 36 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 36 utterances in the provided source, 36 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'perceived_behavioral_control.dct'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 31 utterances in the provided source, 31 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 31 utterances in the provided source, 31 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'perceived_norm.dct'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 31 utterances in the provided source, 31 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 31 utterances in the provided source, 31 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'second-test-file.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 47 utterances in the provided source, 47 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 47 utterances in the provided source, 47 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'simple-rpe-example.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 195 utterances in the provided source, 195 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 195 utterances in the provided source, 195 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'spreadsheet-import-test.csv'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 4 utterances in the provided source, 4 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 4 utterances in the provided source, 4 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'spreadsheet-import-test.xlsx'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 1 utterances in the provided source, 1 are selected by the filter, 0 of which contain the code text.
#> Deleted NA occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 1 utterances in the provided source, 1 are selected by the filter, 0 of which contain the code text.
#> Deleted NA occurrences of code 'childCode1'.
#>
#> Processing source 'state-example-1.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 27 utterances in the provided source, 27 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 27 utterances in the provided source, 27 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'Source1_StreamA.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 13 utterances in the provided source, 13 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 13 utterances in the provided source, 13 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'Source1_StreamB.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 12 utterances in the provided source, 12 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 12 utterances in the provided source, 12 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'Source1_StreamC.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 17 utterances in the provided source, 17 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 17 utterances in the provided source, 17 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'Source2_StreamA.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 13 utterances in the provided source, 13 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 13 utterances in the provided source, 13 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'Source2_StreamB.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 12 utterances in the provided source, 12 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 12 utterances in the provided source, 12 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'Source2_StreamC.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 17 utterances in the provided source, 17 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 17 utterances in the provided source, 17 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>
#> Processing source 'video-stream-example.rock'.
#> Multiple codes to remove have been specified: starting sequential removal of 2 codes.
#>
#> Removing all occurrences of code 'childCode2'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 45 utterances in the provided source, 45 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode2'.
#>
#> Removing all occurrences of code 'childCode1'.
#> If this code has code descendency (i.e. a child code, grandchild code, etc), the direct child code will replace the removed code.
#> If this code has code ancestry (i.e. a (partial) path to the code root is specified with a parent code, potential grandparent code, etc), the ancestry specified in that coding instance will be retained, so the utterance will remain coded with the parent code (and any ancestry of that parent code will also be retained in that coding instance).
#> Out of the 45 utterances in the provided source, 45 are selected by the filter, 0 of which contain the code text.
#> Deleted 0 occurrences of code 'childCode1'.
#>