Tools to Work with Survey Data
Coerces surveydata object to data.frame.
Coercion from and to surveydata.
Converts free format question text to datatable using the DT
package...
Combines surveydata object by columns.
Methods to support dplyr verbs.
Calculates at which questions respondents drop out.
Converts a character vector to an integer vector.
Extract or replace subsets of surveydata, ensuring that the varlabels ...
Fix common encoding problems when working with web imported data.
Fix level formatting of all question with Yes/No type answers.
Tests whether levels contain "Don't know".
Converts an integer vector to a character vector.
Tests whether an object is of class surveydata.
Applies function only to named elements of a list.
Fix level formatting of all question with Yes/No type answers.
Merge surveydata objects.
Merges variable.labels attribute from two surveydata objects
Updates names and variable.labels attribute of surveydata.
Returns and updates pattern attribute.
Print open text questions.
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.
Removes "Do not know" and other similar words from factor levels in da...
Removes "Don't know" from levels and replaces with NA.
Removes pattern and variable.labels from attributes list.
Removes pattern from attributes list.
Get common and unique text in question based on regex pattern identifi...
Finds the common and unique elements in a character vector.
Plots single and as multi-response questions.
Plot satisfaction questions.
Construct plot title from the question text, wrapping at the desired w...
Plot data in yes/no format.
Deprecated functions.
Tools, classes and methods to manipulate survey data.
Returns and updates variable.labels attribute of surveydata object.
Identifies the columns indices corresponding to a specific question.
Data obtained from surveys contains information not only about the survey responses, but also the survey metadata, e.g. the original survey questions and the answer options. The 'surveydata' package makes it easy to keep track of this metadata, and to easily extract columns with specific questions.
Useful links