Tables with Labels and Some Useful Functions from Spreadsheets and 'SPSS' Statistics

Package provides tabulation functions with support for 'SPSS'-style labels, multiple / nested banners, weights, multiple-response variables and significance testing. There are facilities for nice output of tables in 'knitr', R notebooks, 'Shiny' and 'Jupyter' notebooks. Proper methods for labelled variables add value labels support to base R functions and to some functions from other packages. Additionally, the package offers useful functions for data processing in marketing research / social surveys - popular data transformation functions from 'SPSS' Statistics ('RECODE', 'COUNT', 'COMPUTE', 'DO IF', etc.) and 'Excel' ('COUNTIF', 'VLOOKUP', etc.). Package is intended to help people to move data processing from 'Excel'/'SPSS' to R.


0.5.5 (19.10.2016)

  • numerous bugfixes
  • change behavior of if_val() - now it dowsn't copies old values by default. There are 'other' and 'copy' instead of dots.
  • add %n_i%, %n_d% - names intersection and diffs
  • add add_rows function
  • add keep and except functions for selecting/dropping columns in data.frames
  • add 'where' for filtering dataset
  • add sort_asc and sort_desc functions for sorting data.frames

0.5.1 (07.07.2016)

  • initial release

Reference manual

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


0.8.3 by Gregory Demin, 18 days ago

Report a bug at

Browse source code at

Authors: Gregory Demin

Documentation:   PDF Manual  

GPL (>= 2) license

Imports foreign, utils, stats, magrittr, htmlTable, matrixStats, data.table, DT, htmltools

Suggests knitr, repr, ggplot2, testthat, covr

See at CRAN