Code_single: Code single-word responses

Description Usage Arguments Value

View source: R/Code_single.R

Description

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

Usage

1
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/ADCAT documentation built on April 15, 2020, 8:26 p.m.