Tools to Work with Survey Data


[Up] [Top]

Documentation for package ‘surveydata’ version 0.2.3

Help Pages

surveydata-package Tools, classes and methods to manipulate survey data.
"[.surveydata" Extract or replace subsets of surveydata, ensuring that the varlabels stay synchronized.
$<- Extract or replace subsets of surveydata, ensuring that the varlabels stay synchronized.
$<-.surveydata Extract or replace subsets of surveydata, ensuring that the varlabels stay synchronized.
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.
as_opentext_datatable Converts free format question text to datatable using the 'DT' package.
cbind.surveydata Combines surveydata object by columns.
dropout Calculates at which questions respondents drop out.
encToInt Converts a character vector to an integer vector
Extract Extract or replace subsets of surveydata, ensuring that the varlabels stay synchronized.
fixCommonEncodingProblems Deprecated functions.
fixLevels01 Deprecated functions.
fixLevels01R Deprecated functions.
fixLevels01SPSS Deprecated functions.
fix_common_encoding_problems Fix common encoding problems when working with web imported data.
fix_levels_01 Fix level formatting of all question with Yes/No type answers.
fix_levels_01_r Fix level formatting of all question with Yes/No type answers.
fix_levels_01_spss Fix level formatting of all question with Yes/No type answers.
hasDK Deprecated functions.
has_dont_know 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 Deprecated functions.
lapply_names Applies function only to named elements of a list.
leveltest Fix level formatting of all question with Yes/No type answers.
leveltestR Deprecated functions.
leveltestSPSS Deprecated functions.
leveltest_r Fix level formatting of all question with Yes/No type answers.
leveltest_spss 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.
print_opentext Print open text
qOrder Deprecated functions.
qText Deprecated functions.
qTextCommon Deprecated functions.
qTextUnique Deprecated functions.
questions Returns a list of all the unique questions in the surveydata object.
question_order Changes vector to ordered factor, adding NA levels if applicable.
question_text Returns question text.
question_text_common Returns common element of question text.
question_text_unique Returns unique elements of question text.
removeAllDK Deprecated functions.
removeDK Deprecated functions.
remove_all_dont_know Removes "Do not know" and other similar words from factor levels in data frame.
remove_dont_know 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.
split_common_unique 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.
survey_plot_question Plots single and as multi-response questions.
survey_plot_satisfaction Plot satisfaction
survey_plot_title Construct plot title from the question text, wrapping at the desired width.
survey_plot_yes_no Plot data in yes/no format.
un_surveydata Coercion from and to surveydata.
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 synchronized.
[.surveydata Extract or replace subsets of surveydata, ensuring that the varlabels stay synchronized.
[<-.surveydata Extract or replace subsets of surveydata, ensuring that the varlabels stay synchronized.