Package: questionr 0.7.8.9000

questionr: 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.

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

questionr_0.7.8.9000.tar.gz
questionr_0.7.8.9000.zip(r-4.5)questionr_0.7.8.9000.zip(r-4.4)questionr_0.7.8.9000.zip(r-4.3)
questionr_0.7.8.9000.tgz(r-4.4-any)questionr_0.7.8.9000.tgz(r-4.3-any)
questionr_0.7.8.9000.tar.gz(r-4.5-noble)questionr_0.7.8.9000.tar.gz(r-4.4-noble)
questionr_0.7.8.9000.tgz(r-4.4-emscripten)questionr_0.7.8.9000.tgz(r-4.3-emscripten)
questionr.pdf |questionr.html
questionr/json (API)
NEWS

# Install 'questionr' in R:
install.packages('questionr', repos = c('https://juba.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/juba/questionr/issues

Datasets:
  • children - A fertility survey - "children" table
  • enfants - A fertility survey - "enfants" table
  • femmes - A fertility survey - "femmes" table
  • happy - Data related to happiness from the General Social Survey, 1972-2006.
  • hdv2003 - Histoire de vie 2003
  • households - A fertility survey - "households" table
  • menages - A fertility survey - "menages" table
  • rp2012 - 2012 French Census - French cities of more than 2000 inhabitants
  • rp2018 - 2018 French Census - French cities of more than 2000 inhabitants
  • women - A fertility survey - "women" table

On CRAN:

38 exports 82 stars 5.25 score 72 dependencies 17 dependents 13 mentions 836 scripts 10.7k downloads

Last updated 2 years agofrom:9dd36ad4b9. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 24 2024
R-4.5-winNOTEAug 24 2024
R-4.5-linuxNOTEAug 24 2024
R-4.4-winNOTEAug 24 2024
R-4.4-macNOTEAug 24 2024
R-4.3-winNOTEAug 24 2024
R-4.3-macNOTEAug 24 2024

Exports:addNAstrchisq.residualsclipcopycopiecpropcramer.vcross.multi.tabledescribeduplicated2freqfreq.naggsurveyicutiorderireclook_forlookforlpropltabsmulti.splitmulti.tablena.rmodds.ratiopropprop_tableqloadqscanquant.cutrecode.narename.variablerenomme.variableresidusrm.unused.levelsrproptabswtd.meanwtd.tablewtd.var

Dependencies:base64encbitbit64bslibcachemclassclassIntclicliprcommonmarkcpp11crayondigestdplyre1071fansifastmapfontawesomeforcatsfsgenericsgluehavenhighrhmshtmltoolshttpuvjquerylibjsonliteKernSmoothlabelledlaterlifecyclemagrittrMASSmemoisemimeminiUIpillarpkgconfigprettyunitsprogresspromisesproxypurrrR.cacheR.methodsS3R.ooR.utilsR6rappdirsRcppreadrrlangrprojrootrstudioapisassshinysourcetoolsstringistringrstylertibbletidyrtidyselecttzdbutf8vctrsvroomwithrxfunxtable

Recoding addins

Rendered fromrecoding_addins.Rmdusingknitr::rmarkdownon Aug 24 2024.

Last update: 2017-06-19
Started: 2017-06-19

Readme and manuals

Help Manual

Help pageTopics
Transform missing values of a factor to an extra leveladdNAstr
A fertility survey - "children" tablechildren
Return the chi-squared residuals of a two-way frequency table.chisq.residuals residus
Transform an object into HTML and copy it for exportclipcopy clipcopy.default clipcopy.proptab copie copie.default copie.proptab
Column percentages of a two-way frequency table.cprop cprop.data.frame cprop.matrix cprop.table cprop.tabyl
Compute Cramer's V of a two-way frequency tablecramer.v
Two-way frequency table between a multiple choices question and a factorcross.multi.table
Describe the variables of a data.framedescribe describe.character describe.data.frame describe.default describe.factor describe.haven_labelled describe.numeric print.description
Determine all duplicate elementsduplicated2
A fertility survey - "enfants" tableenfants
Escape regex special chars Code directly taken from Hmisc::escapeRegexescape_regex
A fertility surveyfecondite
A fertility survey - "femmes" tablefemmes
A fertility surveyfertility
Return first non-null of two values%||% first_non_null
S3 format method for proptab objects.format.proptab
Generate frequency tables.freq
Generate frequency table of missing values.freq.na
Easy ggplot2 with survey objectsggsurvey
Data related to happiness from the General Social Survey, 1972-2006.happy
Histoire de vie 2003hdv2003
A fertility survey - "households" tablehouseholds
Interactive conversion from numeric to factoricut
Interactive reordering of factor levelsiorder
Interactive recodingirec
Cross tabulation with labelled variablesltabs
A fertility survey - "menages" tablemenages
Split a multiple choices variable in a series of binary variablesmulti.split
One-way frequency table for multiple choices questionmulti.table
Remove observations with missing valuesna.rm
Odds Ratioodds.ratio odds.ratio.factor odds.ratio.glm odds.ratio.matrix odds.ratio.multinom odds.ratio.numeric odds.ratio.table print.odds.ratio
S3 print method for proptab objects.print.proptab
Global percentages of a two-way frequency table.prop prop.data.frame prop.matrix prop.tabyl prop_table
Load one or more packages, installing them first if necessaryqload
Scan R scripts and load/install all detected packagesqscan
Transform a quantitative variable into a qualitative variablequant.cut
Recode values of a variable to missing values, using exact or regular expression matching.recode.na
Rename a data frame columnrename.variable renomme.variable
Remove unused levelsrm.unused.levels
2012 French Census - French cities of more than 2000 inhabitantsrp2012
2018 French Census - French cities of more than 2000 inhabitantsrp2018
Row percentages of a two-way frequency table.lprop rprop rprop.data.frame rprop.matrix rprop.table rprop.tabyl
Weighted Crossresulttabs
A fertility survey - "women" tablewomen
Weighted mean and variance of a vectorwtd.mean wtd.var
Weighted one-way and two-way frequency tables.wtd.table