surveydata: Tools to manipulate survey data
Version 0.1-14

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.

Browse man pages Browse package API and functions Browse package files

AuthorAndrie de Vries [aut, cre]
Date of publication2013-10-22 16:50:43
MaintainerAndrie de Vries <apdevries@gmail.com>
LicenseGPL-2 | GPL-3
Version0.1-14
URL https://github.com/andrie/surveydata
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("surveydata")

Man pages

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...
fixCommonEncodingProblems: Fix common encoding problems when working with web imported...
fixLevels01: Fix level formatting of all question with Yes/No type...
fixLevels01R: Fix level formatting of all question with Yes/No type...
fixLevels01SPSS: Fix level formatting of all question with Yes/No type...
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...
leveltestSPSS: Fix level formatting of all question with Yes/No type...
membersurvey: Data frame with survey data of member satisfaction survey.
merge: Merge surveydata objects.
merge_varlabels: Merges variable.labels attribute from two surveydata objects
names: Updates names and variable.labels attribute of surveydata.
pattern: Returns and updates pattern attribute.
qOrder: Changes vector to ordered factor, adding NA levels if...
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...
removeAllDK: Removes "Do not know" and other similar words from factor...
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...
strCommonUnique: Finds the common and unique elements in a character vector.
surveydata-package: Tools, classes and methods to manipulate survey data.
varlabels: Returns and updates variable.labels attribute of surveydata...
which.q: Identifies the columns indices corresponding to a specific...

Functions

$<- Man page
$<-.surveydata Man page
Extract Man page
[ Man page
[.surveydata Man page
[<-.surveydata Man page
as.data.frame Man page
as.data.frame.surveydata Man page Source code
as.surveydata Man page Source code
cbind.surveydata Man page Source code
dropout Man page Source code
encToInt Man page Source code
fixCommonEncodingProblems Man page Source code
fixLevels01 Man page Source code
fixLevels01R Man page Source code
fixLevels01SPSS Man page Source code
hasDK Man page Source code
intToEnc Man page Source code
is.surveydata Man page Source code
lapplyNames Man page Source code
leveltestR Man page Source code
leveltestSPSS Man page Source code
membersurvey Man page
merge Man page
merge.surveydata Man page Source code
merge_varlabels Man page Source code
names<- Man page
names<-.surveydata Man page
pattern Man page Source code
pattern<- Man page
qOrder Man page Source code
qPattern Source code
qText Man page Source code
qTextCommon Man page Source code
qTextUnique Man page Source code
questions Man page Source code
removeAllDK Man page Source code
removeDK Man page Source code
rm.attrs Man page Source code
rm.pattern Man page Source code
splitCommonUnique Man page Source code
strCommonUnique Man page Source code
surveydata Man page
surveydata-package Man page
varlabels Man page Source code
varlabels<- Man page
which.q Man page Source code

Files

inst
inst/examples
inst/examples/example-extract.R
inst/examples/example-pattern.R
inst/examples/example-asSurveydata.R
inst/examples/example-questions.R
inst/examples/example-varlabels.R
inst/tests
inst/tests/2010.sav
inst/tests/gss.rda
inst/tests/test-5-questions.R
inst/tests/test-3-extract.R
inst/tests/test-2-whichq.R
inst/tests/notest-9-gss.R
inst/tests/test-6-encoding.R
inst/tests/test-8-tools.R
inst/tests/test-4-merge.R
inst/tests/test-3-replace.R
inst/tests/test-1-surveydata.R
inst/tests/test-3-strings.R
inst/doc
inst/doc/surveydata.Rnw
inst/doc/surveydata.pdf
inst/doc/surveydata.R
NAMESPACE
NEWS
data
data/membersurvey.rda
R
R/cleandata.R
R/strings.R
R/encoding.R
R/surveydata.R
R/surveydata-package.R
R/varlabels.R
R/tools.R
R/pattern.R
R/extract.R
R/merge.R
R/questions.R
vignettes
vignettes/surveydata.Rnw
MD5
build
build/vignette.rds
DESCRIPTION
man
man/pattern.Rd
man/splitCommonUnique.Rd
man/varlabels.Rd
man/merge_varlabels.Rd
man/removeAllDK.Rd
man/names.Rd
man/hasDK.Rd
man/encToInt.Rd
man/fixLevels01.Rd
man/fixLevels01R.Rd
man/intToEnc.Rd
man/as.data.frame.surveydata.Rd
man/qTextUnique.Rd
man/merge.Rd
man/strCommonUnique.Rd
man/removeDK.Rd
man/qText.Rd
man/membersurvey.Rd
man/as.surveydata.Rd
man/rm.attrs.Rd
man/rm.pattern.Rd
man/cbind.surveydata.Rd
man/Extract.Rd
man/leveltestR.Rd
man/qOrder.Rd
man/is.surveydata.Rd
man/surveydata-package.Rd
man/leveltestSPSS.Rd
man/which.q.Rd
man/fixCommonEncodingProblems.Rd
man/qTextCommon.Rd
man/dropout.Rd
man/fixLevels01SPSS.Rd
man/lapplyNames.Rd
man/questions.Rd
surveydata documentation built on May 19, 2017, 7:27 p.m.