Code_words: Code single-word unprocessed responses

View source: R/Code_words.R

Code_wordsR Documentation

Code single-word unprocessed responses

Description

This function allows you to code a variable of unprocessed text responses into the different dictionaries and sentiments

Usage

Code_words(
  data,
  text = "word",
  more2na = T,
  parallelize = T,
  print = T,
  debug = F
)

Arguments

data

dataframe including the text to code

text

string name of a variable (vector) of text to code into the dictionaries

more2na

if text has more than 2 words, transform to na

Value

Original dataframe with additional columns for codings


gandalfnicolas/SADCAT documentation built on June 8, 2024, 6:26 a.m.