indicate_term.RdIndicate if a term is contained in abstracts.
indicate_term( df, term, threshold = 1, case = FALSE, discard = FALSE, col.abstract = Abstract )
| df | Data frame containing abstracts. |
|---|---|
| term | Character vector. Vector containing terms to indicate. |
| threshold | Integer. Sets how often a term must be in an abstract to be considered "present". |
| case | Boolean. If |
| discard | Boolean. If |
| col.abstract | 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()