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.
clipcopywork with tibbles
pkgdownpackage documentation at https://juba.github.io/questionr/
sortand NAs in
na.rm = FALSEto display NA level in
ltabsfunction, for labelled variables cross-tabulation (@larmarange)
freqare harmonized and now work with
iorderhave been converted to RStudio addins. They now work both with vectors and data frames.
irecallows to select the type of output : character, factor or numeric (thanks @larmarange)
irecnow works with numeric variables
irecnow trims leading and trailing whitespaces in inputted values
nargument to display the total number of observations by row or column (when
tfreqargument to display row percentages based on the (potentially weighted) contingency table of respondants.
freqargument to display column percentages based on the (potentially weighted) contingency table of crossvar on respondants.
freqargument to compute percentages based on (potentially weighted) number of repondants. Note that
freqis set to TRUE by default
keywordsargument changed to "" (displays all variables)
nto cprop and rprop to display the number of observations per row/column
freqnow displays, by default, a column of percentage based on non-missing values