Description Usage Arguments Value
View source: R/tabulate_data.R
Taking a data structure with labels and parameters this function will return a tidy tibble that is a breakdown of responses to each question within the structure. These tables can be weighted or segmented by providing the columns and can also contain a Base column which is useful for indexing.
1 2 |
x |
tabulate data structure with labels and tabulate parameters |
weights |
weights column |
segments |
segments column(s) |
filterNA |
boolean indcating whether NA's are filtered prior to percentage calculation |
addBase |
boolean indicating whether a column "Base" should be added |
Tidy tibble containing the response to questions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.