remove_terms_all: Remove Terms Completely

remove_terms_allR Documentation

Remove Terms Completely

Description

Fully Remove the given terms from the strings.

Usage

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 leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

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

rOpenGov/bibliographica documentation built on April 10, 2022, 8:51 p.m.