Code_single: Code single-word responses

View source: R/Code_single.R

Code_singleR Documentation

Code single-word responses

Description

This function allows you to code a variable of (fully preprocessed, see "preprocess_words") text responses into the different dictionaries

Usage

Code_single(data, text = "word", more2na = T)

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.