Description Usage Arguments Details Value Examples
View source: R/question_table.R
Create a table that includes the full text of each survey question.
1 | question_table(df, struct, excluded_fields = NULL)
|
df |
The survey data frame. It should be labelled data. |
struct |
A data frame holding the structure of the survey. This should include the field name and other information on each question that gets merged into the question table. |
excluded_fields |
A list of fields that are not questions, so shouldn't be saved to the question list. |
Extract the text of each question from the labelled data loaded from the SPSS file.
A tibble containing the field name, the full text of the question and any survey structure information.
1 2 3 | question_table(cgpss, data_frame(field_name=character()))
question_table(nsse, nsse_structure)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.