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.


News

Changes:

  • Added README.md to .Rbuildignore to comply with CRAN

Changes:

  • When drop=TRUE, [.surveydata simplifies the results and returns a vector, similar to [.data.frame

Changes:

  • Removed XLConnect functions for survey translation, and included in separate surveytranslate package.
  • Added vignette.
  • First submission to CRAN.

Changes:

  • No functional changes.
  • Complete overhaul and review of documentation, to get package ready for first release to CRAN.

Changes:

  • Added writeQuestionExcel() and readQuestionExcel() for exporting and importing questions for easy translation or recoding.
  • Added dropout() to calculate where respondents drop out from survey.

Changes:

  • Bug fixes in [.surveydata
  • Added warning in as.surveydata() if names and varlabel names don't match.

Changes:

  • Added method for [<-.surveydata

Changes:

  • Documentation improvements and small issue fixes.
  • [.surveydata now uses drop=FALSE by default.

New features:

  • Modified pattern search to have sep and exclude, rather than a regex (as.surveydata, which.q. etc.).
  • Merged surveyortools package: encoding and cleandata.

New features:

  • Now imports packages rather than declaring dependencies..

New features:

  • First alpha release.
  • varlabels and varlabels<- to read and modify variable.labels attribute.
  • pattern and pattern<- to set regex pattern that defines unique questions.
  • qText returns question text using regex patterns.
  • extracts subsets with regex patterns using, for example surveydata[, "Q1"].

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("surveydata")

0.2.0 by Andrie de Vries, 4 months ago


https://github.com/andrie/surveydata


Browse source code at https://github.com/cran/surveydata


Authors: Andrie de Vries [aut, cre, cph]


Documentation:   PDF Manual  


Task views: Official Statistics & Survey Methodology


GPL-2 | GPL-3 license


Imports stringr, plyr, dplyr, magrittr, purrr

Suggests testthat, knitr, rmarkdown, withr, covr


See at CRAN