surveydata v0.2.3

0

Monthly downloads

0th

Percentile

Tools to Work with Survey Data

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.

Functions in surveydata

Name Description
rm.attrs Removes pattern and variable.labels from attributes list.
merge Merge surveydata objects.
survey_plot_satisfaction Plot satisfaction
survey_plot_question Plots single and as multi-response questions.
question_text_unique Returns unique elements of question text.
questions Returns a list of all the unique questions in the surveydata object.
dplyr-surveydata Methods to support dplyr verbs.
intToEnc Converts an integer vector to a character vector.
qText Deprecated functions.
has_dont_know Tests whether levels contain "Don't know".
leveltest Fix level formatting of all question with Yes/No type answers.
merge_varlabels Merges variable.labels attribute from two surveydata objects
membersurvey Data frame with survey data of member satisfaction survey.
remove_all_dont_know Removes "Do not know" and other similar words from factor levels in data frame.
surveydata-package Tools, classes and methods to manipulate survey data.
varlabels Returns and updates variable.labels attribute of surveydata object.
remove_dont_know Removes "Don't know" from levels and replaces with NA.
which.q Identifies the columns indices corresponding to a specific question.
Extract Extract or replace subsets of surveydata, ensuring that the varlabels stay synchronized.
as.data.frame.surveydata Coerces surveydata object to data.frame.
rm.pattern Removes pattern from attributes list.
question_text Returns question text.
is.surveydata Tests whether an object is of class surveydata.
survey_plot_title Construct plot title from the question text, wrapping at the desired width.
question_text_common Returns common element of question text.
lapply_names Applies function only to named elements of a list.
survey_plot_yes_no Plot data in yes/no format.
print_opentext Print open text
question_order Changes vector to ordered factor, adding NA levels if applicable.
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.
fix_common_encoding_problems Fix common encoding problems when working with web imported data.
fix_levels_01_spss Fix level formatting of all question with Yes/No type answers.
names<-.surveydata Updates names and variable.labels attribute of surveydata.
pattern Returns and updates pattern attribute.
as.surveydata Coercion from and to surveydata.
dropout Calculates at which questions respondents drop out.
encToInt Converts a character vector to an integer vector
as_opentext_datatable Converts free format question text to datatable using the DT package.
cbind.surveydata Combines surveydata object by columns.
No Results!

Vignettes of surveydata

Name
surveydata.Rmd
No Results!

Last month downloads

Details

Date 2019-01-23
License GPL-2 | GPL-3
LazyData true
LazyLoad true
Copyright Andrie de Vries
URL http://andrie.github.io/surveydata/index.html
BugReports https://github.com/andrie/surveydata
ByteCompile yes
RoxygenNote 6.1.1
VignetteBuilder knitr
Encoding UTF-8
NeedsCompilation no
Packaged 2019-01-23 12:31:55 UTC; apdev
Repository CRAN
Date/Publication 2019-01-23 12:50:04 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/surveydata)](http://www.rdocumentation.org/packages/surveydata)