Indicate if a term is contained in abstracts.
indicate_term(
df,
term,
threshold = 1,
case = FALSE,
discard = FALSE,
col.abstract = Abstract
)Data frame containing abstracts.
Character vector. Vector containing terms to indicate.
Integer. Sets how often a term must be in an abstract to be considered "present".
Boolean. If case = TRUE, strings contained in term are case
sensitive. If case = FALSE, strings contained in term are case insensitive.
Boolean. If discard = TRUE, only abstracts containing the
terms in term are kept.
Symbol. Column containing abstracts.
Data frame. If discard = FALSE, the original data frame with additional
columns per term is returned. If discard = TRUE, only abstracts containing the
terms in term are returned.
Indicate if a term is contained in an abstract. Terms provided can either
be case sensitive or insensitive. Per term, a new column is added to the data
frame indicating if the term is present in an abstract. Furthermore, if a term
is considered "present" in an abstract can be regulated via the threshold
argument. threshold determines how often a term must be in an abstract
to be considered "present".
Other indicate functions:
indicate_mir()