ffq: Server-side function for free-form questions (/responses).

Description Usage Arguments See Also

View source: R/ffq_tab.R

Description

Server-side function for free-form questions (/responses). Makes use of assign_polarity(), wc_plotter(), sentiment_prod_response(), dt_sentiment_formatter().

Usage

1
2
ffq(input, output, session, dat, fdat, ffq_col, terms_cutoff, word_size,
  response_colors)

Arguments

input

Required for shiny modules' server functions.

output

Required for shiny modules' server functions.

session

Required for shiny modules' server functions.

dat

dataframe, processed but unfiltered data.

fdat

dataframe, dat but filtered by demographic variables and product.

ffq_col

numeric, number of the column in fdat containing data for question plotted.

terms_cutoff

numeric, the number of terms to include in the word cloud.

word_size

numeric, font size of the terms dispalyed in the word cloud.

response_colors

vector, colours to distinguish different products in the response datatable; strings (eg. c("#FF00FF", "#00FFFF", "00FF00")).

See Also

ffqUI, assign_polarity, wc_plotter, sentiment_prod_response, dt_sentiment_formatter


IskanderBlue/morseldash documentation built on Oct. 30, 2019, 7:24 p.m.