Learn R Programming

rock (version 0.9.6)

get_codeIds_from_qna_codings: 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
)

Value

A character vector or data frame

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

Examples

Run this code
### 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
);

Run the code above in your browser using DataLab