questionr v0.7.4


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

Vignettes of questionr

No Results!

Last month downloads


Date 2020-11-30
License GPL (>= 2)
Encoding UTF-8
SystemRequirements xclip (Linux)
VignetteBuilder knitr
RoxygenNote 7.1.1
NeedsCompilation no
Packaged 2020-11-30 13:31:54 UTC; julien
Repository CRAN
Date/Publication 2020-11-30 14:10:02 UTC

Include our badge in your README