Overview |
|
---|---|
Tools, classes and methods to manipulate survey data. |
|
Data frame with survey data of member satisfaction survey. |
|
Coercion functionsCoerces various objects to a |
|
Coerces surveydata object to data.frame. |
|
Coercion from and to surveydata. |
|
Tests whether an object is of class surveydata. |
|
Access and modify attributes |
|
Returns and updates pattern attribute. |
|
Returns and updates variable.labels attribute of surveydata object. |
|
Subset or merge surveydata objects |
|
Merge surveydata objects. |
|
Extract or replace subsets of surveydata, ensuring that the varlabels stay synchronized. |
|
Combines surveydata object by columns. |
|
To extract question text from varlabels |
|
Changes vector to ordered factor, adding NA levels if applicable. |
|
Returns question text. |
|
Returns common element of question text. |
|
Returns unique elements of question text. |
|
Returns a list of all the unique questions in the surveydata object. |
|
Plots single and as multi-response questions. |
|
Identifies the columns indices corresponding to a specific question. |
|
Get common and unique text in question based on regex pattern identification. |
|
Finds the common and unique elements in a character vector. |
|
To fix common encoding problems |
|
Fix common encoding problems when working with web imported data. |
|
Converts a character vector to an integer vector. |
|
Converts an integer vector to a character vector. |
|
To clean data |
|
Removes "Do not know" and other similar words from factor levels in data frame. |
|
Removes "Don't know" from levels and replaces with NA. |
|
Fix level formatting of all question with Yes/No type answers. |
|
Tests whether levels contain "Don't know". |
|
Fix level formatting of all question with Yes/No type answers. |
|
Plot functions |
|
Plots single and as multi-response questions. |
|
Plot satisfaction questions. |
|
Construct plot title from the question text, wrapping at the desired width. |
|
Plot data in yes/no format. |
|
Work with open text response data |
|
Converts free format question text to datatable using the |
|
Print open text questions. |
|
Miscellaneous tools |
|
Calculates at which questions respondents drop out. |
|
Removes pattern and variable.labels from attributes list. |
|
Removes pattern from attributes list. |
|
Applies function only to named elements of a list. |
|
Using ‘dplyr’ verbs |
|
|
Methods to support dplyr verbs. |