get_codeIds_from_qna_codings: Get the code identifiers from QNA codings

View source: R/get_codeIds_from_qna_codings.R

get_codeIds_from_qna_codingsR 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
);

rock documentation built on June 14, 2025, 1:08 a.m.