df.quotes.scm.concept: Extract the quotes of a project linked to selected concepts

Description Usage Arguments Details Value Examples

Description

Extract the quotes of a project linked to selected concepts

Usage

1
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 developed 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

1
2
3
4
5
6
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")

cogmapr documentation built on Jan. 4, 2022, 5:06 p.m.