openend_y2 | R Documentation |
Breaks down an open ended question on spaces, giving you the frequencies of each word mentioned
openend_y2(dataset, variable, top_x = 50)
dataset |
no default. Usually piped in from your main dataset |
variable |
The name of the openended variable from your dataset you want to look at |
top_x |
DEFAULT = 50; Shows the top X most commonly mentioned words you want to see from the open-end |
responses <- tibble::tibble(
var1 = c(
'I like to talk about dogs',
'Dogs are cool but cats are aight too',
'I prefer dogs over cats',
"My dog's collars are always too tight",
'One last sentence about dogs',
'Cats collars are typically cooler than dogs'
)
)
responses %>% openend_y2(var1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.