← Back to all sparks
Q

questionr

ANALYTICS
Velocity0.0

R package questionr by juba — release notes from GitHub.

questionr's survey helpers are finished; recent releases only keep pace with R-devel.

survey analysiscontingency tablesrstudio addinstidyverse compatibilityr package
Current state
A long-running toolkit for survey data in R — proportion tables, weighted counts, and the interactive irec(), iorder() and icut() addins for recoding. The last functional release was 0.8.0 in March 2025: a new freqtable() function, prop(), cprop() and rprop() extended to tables of three or more dimensions, and the addins moved onto the native pipe and forcats' current API. Both releases since exist purely to fix tests broken by R-devel changes to table internals.
Where it's heading
This is a stable package in compatibility-maintenance mode, where the release trigger is upstream churn rather than user demand. The functional work that does appear follows a consistent line — generalising the table functions beyond two dimensions, and keeping the interactive recoding addins aligned with current tidyverse idioms rather than the deprecated ones they were written against. The same maintainer's rainette shipped its own upstream-compatibility fix in the same window.
Prediction
Expect the next release to be another R-devel or tidyverse compatibility fix; nothing in the entries points to new functionality.

Recent moves

  1. 6mo ago

    R-devel test fix for NA naming in tables

    Fixes tests failing under R-devel after a change to how NA is named in tables. Compatibility upkeep with no user-facing change.

    View source ↗
  2. 1y ago

    R-devel test fix for table subset classes

    Fixes tests failing under R-devel after changes to class attribution on table subsets. The same category of upstream churn as the release that followed it.

    View source ↗
  3. 1y ago

    freqtable added; proportion tables handle three or more dimensions

    Adds freqtable(), extends prop(), cprop() and rprop() to tables of three or more dimensions, and moves irec() and iorder() onto the native pipe and fct_na_value_to_level(). The last release with functional content.

    View source ↗
  4. 3y ago

    Addins handle non-syntactic variable names

    Fixes errors in iorder(), icut() and irec() when a variable name is not syntactically valid. A single-issue patch.

    View source ↗
  5. 4y ago

    forcats errors on numeric variables fixed

    Fixes errors in iorder() and irec() when reordering or recoding numeric variables with forcats. Published within a minute of 0.7.6 as part of one backfilled batch.

    View source ↗
  6. 4y ago

    icut default changed; rp2018 dataset replaces rp99

    Changes the include.lowest default in icut() to TRUE, restyles the recoding addins for tidyverse conventions, and swaps the rp99 dataset for rp2018. The default change quietly alters results for anyone relying on the old binning.

    View source ↗