Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tCorpus-cash-search_recode

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

Managing, Querying and Analyzing Tokenized Text

v0.4.10
GPL-3
Authors
Kasper Welbers and Wouter van Atteveldt
Initial release
2022-05-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.