Tools to manipulate survey data


[Up] [Top]

Documentation for package ‘surveydata’ version 0.1-14

Help Pages

surveydata-package Tools, classes and methods to manipulate survey data.
$<- Extract or replace subsets of surveydata, ensuring that the varlabels stay in synch.
$<-.surveydata Extract or replace subsets of surveydata, ensuring that the varlabels stay in synch.
as.data.frame Coerces surveydata object to data.frame.
as.data.frame.surveydata Coerces surveydata object to data.frame.
as.surveydata Coercion from and to surveydata.
cbind.surveydata Combines surveydata object by columns.
dropout Calculates at which questions repondents drop out.
encToInt Converts a character vector to an integer vector
Extract Extract or replace subsets of surveydata, ensuring that the varlabels stay in synch.
fixCommonEncodingProblems Fix common encoding problems when working with web imported data.
fixLevels01 Fix level formatting of all question with Yes/No type answers.
fixLevels01R Fix level formatting of all question with Yes/No type answers.
fixLevels01SPSS Fix level formatting of all question with Yes/No type answers.
hasDK Tests whether levels contain "Don't know".
intToEnc Converts an integer vector to a character vector.
is.surveydata Tests whether an object is of class surveydata.
lapplyNames Applies function only to named elements of a list.
leveltestR Fix level formatting of all question with Yes/No type answers.
leveltestSPSS Fix level formatting of all question with Yes/No type answers.
membersurvey Data frame with survey data of member satisfaction survey.
merge Merge surveydata objects.
merge.surveydata Merge surveydata objects.
names<- Updates names and variable.labels attribute of surveydata.
names<-.surveydata Updates names and variable.labels attribute of surveydata.
pattern Returns and updates pattern attribute.
pattern<- Returns and updates pattern attribute.
qOrder Changes vector to ordered factor, adding NA levels if applicable.
qText Returns question text.
qTextCommon Returns common element of question text.
qTextUnique Returns unique elements of question text.
questions Returns a list of all the unique questions in the surveydata object.
removeAllDK Removes "Do not know" and other similar words from factor levels in data frame.
removeDK Removes "Don't know" from levels and replaces with NA.
rm.attrs Removes pattern and variable.labels from attributes list.
rm.pattern Removes pattern from attributes list.
splitCommonUnique Get common and unique text in question based on regex pattern identification
strCommonUnique Finds the common and unique elements in a character vector.
surveydata Tools, classes and methods to manipulate survey data.
varlabels Returns and updates variable.labels attribute of surveydata object.
varlabels<- Returns and updates variable.labels attribute of surveydata object.
which.q Identifies the columns indices corresponding to a specific question.
[ Extract or replace subsets of surveydata, ensuring that the varlabels stay in synch.
[.surveydata Extract or replace subsets of surveydata, ensuring that the varlabels stay in synch.
[<-.surveydata Extract or replace subsets of surveydata, ensuring that the varlabels stay in synch.