tCorpus-cash-search_recode: Recode features in a tCorpus based on a search string

tCorpus$search_recodeR Documentation

Recode features in a tCorpus based on a search string

Description

Search features (see search_features) and replace features with a new value

Usage:

## R6 method for class tCorpus. Use as tc$method (where tc is a tCorpus object).

search_recode(feature, new_value, keyword, condition = NA, condition_once = FALSE)

Arguments

feature

The feature in which to search

new_value

the character string with which all features that are found are replaced

query

See search_features for the query parameters

...

Additional search_features parameters. See search_features


corpustools documentation built on May 31, 2023, 8:45 p.m.