remove_terms_all: Remove Terms Completely

Description Usage Arguments Details Value Author(s) References Examples

View source: R/remove_terms_all.R

Description

Fully Remove the given terms from the strings.

Usage

1
2
remove_terms_all(x, terms, include.lowercase = FALSE, polish = TRUE,
  recursive = FALSE)

Arguments

x

A vector

terms

Terms to be removed

include.lowercase

Include also lowercase versions of the terms

polish

polish the entries after removing the terms (remove trailing spaces and periods)

recursive

Apply the changes recursively along the list ?

Details

After removing the numerics, beginning, double and ending spaces are also removed from the strings.

Value

Vector with terms removed

Author(s)

Leo Lahti [email protected]

References

See citation("bibliographica")

Examples

1
## Not run: x2 <- remove_terms_all(x, terms)

rOpenGov/bibliographica documentation built on July 17, 2018, 8:20 a.m.