Skip to contents

Merges codings with the text data.

Usage

qda_merge(
  qda_data,
  include_code_counts = TRUE,
  include_codes = TRUE,
  include_text_counts = TRUE,
  include_text_questions = TRUE,
  include_code_questions = TRUE,
  sentiment_dir,
  include_sentiments = FALSE,
  include_bing_sentiment = include_sentiments,
  include_nrc_sentiment = include_sentiments,
  include_loughran_sentiment = include_sentiments,
  include_afinn_sentiment = include_sentiments,
  ...
)

Arguments

qda_data

a qda() object.

include_code_counts

include code counts in returned data.frame.

include_codes

include columns for each code. Each column will start with code_.

include_text_counts

include number of characters, words, sentences, and paragraphs.

include_text_questions

include responses to text questions in returned data.frame.

include_code_questions

include code question responses in returned data.frame.

sentiment_dir

if specified, the sentiment lexicon will be loaded from the given directory.

include_sentiments

include sentiment analysis in returend data.frame.

include_bing_sentiment

include Bing sentiment analysis in returned data.frame. Columns will begin with bing_.

include_nrc_sentiment

include NRC sentiment analysis in returned data.frame. Columns will begin with nrc_.

include_loughran_sentiment

include Loughran sentiment analysis in returned data.frame. Columns will begin with loughran_.

include_afinn_sentiment

include AFINN sentiment analysis in returned data.frame. Columns will begin with afinn_.

...

parameters passed to other functions.