search_terms {inlpubs} | R Documentation |
Search Terms
Description
Pattern matches a search term within the term-frequency data table.
Usage
search_terms(
x,
data = inlpubs::terms,
ignore.case = TRUE,
...,
low_freq = 1,
high_freq = Inf,
simplify = TRUE
)
Arguments
x |
'character' string. Term searched for in the term-frequency data table. |
data |
'term' and 'data.frame' class.
Term-frequency data table.
Defaults to using the term frequencies from the INLPO publications,
see |
ignore.case |
'logical' flag. Whether to ignore character case during pattern matching. |
... |
Additional arguments passed to the |
low_freq |
'numeric' number. Lower frequency bound. |
high_freq |
'numeric' number. Upper frequency bound. |
simplify |
'logical' flag. Whether to return only the unique publication identifiers. |
Value
A subset of the data table sorted by decreasing frequency.
Author(s)
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
See Also
mine_text
function to perform a term frequency text analysis.
Examples
search_terms("mlms")
out <- search_terms("mlms", simplify = FALSE)
head(out)