df.quotes.scm.concept {cogmapr}R Documentation

Extract the quotes of a project linked to selected concepts

Description

Extract the quotes of a project linked to selected concepts

Usage

df.quotes.scm.concept(project, units, selected.concept)

Arguments

project

A QDA project, a list as generated by the ProjectCMap function.

units

A string vector giving the names of the units (i.e. classes linked to documents) that will be include in the SCM. It is a second type of filter.

selected.concept

A vector of character/integer value(s), the id(s) of one or many concept(s) of the map

Details

Extract the quotes of a project linked to selected concepts. Units is a mandatory parameter as this function was initially developped for given the quotes linked to significantly different concepts between groups of documents (i.e. units).

Value

A data frame of relationships and quotes

Examples

project_name <- "a_new_project"
main_path <- paste0(system.file("testdata", package = "cogmapr"), '/')
my.project <- ProjectCMap(main_path, project_name)

df.quotes.scm.concept(my.project, "Québec", 4)
df.quotes.scm.concept(my.project, "Québec", "2")

[Package cogmapr version 0.9.1 Index]