get_codeIds_from_qna_codings {rock} | R Documentation |
Get the code identifiers from QNA codings
Description
Get the code identifiers from QNA codings
Usage
get_codeIds_from_qna_codings(
x,
within = "network",
return = "all",
includeUIDs = TRUE
)
Arguments
x |
A parsed source or multiple parsed sources |
within |
Which type of network coding to look in |
return |
What to return ('all', 'nodes', 'edges', 'from', 'to') |
includeUIDs |
Whether to return the UIDs as well |
Value
A character vector or data frame
Examples
### Get path to example source
examplePath <-
system.file("extdata", package="rock");
### Read a souce coded with the Qualitative Network Approach
qnaExample <-
rock::parse_source(
file.path(
examplePath,
"network-example-1.rock"
)
);
rock::get_codeIds_from_qna_codings(
qnaExample
);
[Package rock version 0.9.6 Index]