questionr v0.6.3


Monthly downloads



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.

Functions in questionr

Name Description
irec Interactive recoding
hdv2003 Histoire de vie 2003
households A fertility survey - "households" table
multi.split Split a multiple choices variable in a series of binary variables
odds.ratio Odds Ratio
multi.table One-way frequency table for multiple choices question
wtd.table Weighted one-way and two-way frequency tables.
tabs Weighted Crossresult
iorder Interactive reordering of factor levels
wtd.mean Weighted mean and variance of a vector
ifunc_show_alert Display an alert, only on first launch for the current session
ifunc_get_css Returns custom CSS content
women A fertility survey - "women" table
ifunc_run_as_addin Check if we are currently running as an rstudio addin
na.rm Remove observations with missing values
qscan Scan R scripts and load/install all detected packages
icut Interactive conversion from numeric to factor Recode values of a variable to missing values, using exact or regular expression matching.
qload Load one or more packages, installing them first if necessary
ltabs Cross tabulation with labelled variables
rename.variable Rename a data frame column
questionr questionr
menages A fertility survey - "menages" table
quant.cut Transform a quantitative variable into a qualitative variable
lookfor Look for keywords variable names and descriptions
print.proptab S3 print method for proptab objects.
rp99 1999 French Census - Cities from the Rh<U+00F4>ne state
rprop Row percentages of a two-way frequency table.
prop Global percentages of a two-way frequency table.
rm.unused.levels Remove unused levels
rp2012 2012 French Census - French cities of more than 2000 inhabitants
cprop Column percentages of a two-way frequency table.
addNAstr Transform missing values of a factor to an extra level
cross.multi.table Two-way frequency table between a multiple choices question and a factor
chisq.residuals Return the chi-squared residuals of a two-way frequency table.
format.proptab S3 format method for proptab objects.
freq Generate frequency tables.
children A fertility survey - "children" table
clipcopy Transform an object into HTML and copy it for export
first_non_null Return first non-null of two values
enfants A fertility survey - "enfants" table
duplicated2 Determine all duplicate elements
describe Describe the variables of a data.frame
fecondite A fertility survey
fertility A fertility survey
escape_regex Escape regex special chars Code directly taken from Hmisc::escapeRegex
cramer.v Compute Cramer's V of a two-way frequency table
femmes A fertility survey - "femmes" table
happy Data related to happiness from the General Social Survey, 1972-2006. Generate frequency table of missing values.
No Results!

Vignettes of questionr

No Results!

Last month downloads


Date 2018-07-17
License GPL (>= 2)
Encoding UTF-8
SystemRequirements xclip (Linux)
VignetteBuilder knitr
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2018-07-17 13:20:20 UTC; julien
Repository CRAN
Date/Publication 2018-07-17 17:50:03 UTC

Include our badge in your README