Functions to Make Surveys Processing Easier

Set of functions to make the processing and analysis of surveys easier : interactive shiny apps and addins for data recoding, contingency tables, dataset metadata handling, and several convenience functions.


  • irec, icut and iorder have been converted to RStudio addins. They now work both with vectors and data frames.
  • Bugfix : handle regexp special chars in variable or split character in multi.split (thanks @markriseley)
  • irec allows to select the type of output : character, factor or numeric (thanks @larmarange)
  • irec now works with numeric variables
  • Bugfix : name conflicts with global environment objects (thanks @scoavoux)
  • irec now trims leading and trailing whitespaces in inputted values
  • Minimal recoding style by default in irec
  • Fix false positives in multi.split (thanks @markriseley)
  • New fecondite labelled dataset (thanks @larmarange)
  • New happy dataset (thanks @briatte)
  • cross.multi.table() now accept a n argument to display the total number of observations by row or column (when freq=TRUE).
  • cross.multi.table() now accept a tfreq argument to display row percentages based on the (potentially weighted) contingency table of respondants.
  • Fix : i* interactive functions now work with data.table and dplyr's tbl_df
  • cross.multi.table() now accept a freq argument to display column percentages based on the (potentially weighted) contingency table of crossvar on respondants.
  • multi.table() now accept a freq argument to compute percentages based on (potentially weighted) number of repondants. Note that freq is set to TRUE by default
  • Fix : wrong HTML() call in clipcopy()
  • Refactoring : icut, irec and iorder are now shinyApps functions
  • Translation : icut, irec and iorder interfaces are now translated in french
  • Bugfix : compatibility with shiny 0.10
  • New functions from Joseph Larmarange : duplicated2, na.rm, rm.unused.levels
  • Default lookfor keywords argument changed to "" (displays all variables)
  • New argument n to cprop and rprop to display the number of observations per row/column
  • "Ensemble" and "Total" strings in cprop and rprop are now localized
  • Bugfixes on irec : encoding on windows and empty strings in factor levels
  • freq now displays, by default, a column of percentage based on non-missing values
  • Bugfix : weights handling in cross.multi.table
  • Bugfix : NA values in icut
  • New functions from Joseph Larmarange : addNAstr and odds.ratios
  • copy renamed to clipcopy to avoid name collisions with data.table
  • New function : icut, interactive shiny interface for cut
  • New function : iorder, interactive shiny interface for ordering the levels of a factor
  • New function : irec, interactive shiny interface for recoding a variable
  • New functions : describe,, qload, qscan,
  • Finish transition from rgrs
  • First version

Reference manual

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


0.6.2 by Julien Barnier, 24 days ago

Browse source code at

Authors: Julien Barnier [aut, cre], Fran├žois Briatte [aut], Joseph Larmarange [aut]

Documentation:   PDF Manual  

Task views: Official Statistics & Survey Methodology

GPL (>= 2) license

Imports shiny, miniUI, rstudioapi, highr, classInt, htmltools, graphics, stats, utils, labelled

Suggests memisc, testthat, roxygen2, R2HTML, dplyr, forcats, knitr

System requirements: xclip (Linux)

Imported by rmdformats.

See at CRAN