Package: weasel 0.4.4

Siard van den Bosch

weasel: Wave-Based Extraction and Selection for Longitudinal Data

Turns wave-and-respondent selection in longitudinal panel and repeated-measures data into an explicit, reproducible workflow. Provides a scope-based pipeline for wave pattern analysis and a planning interface for scenario-based respondent selection with configurable missing-wave tolerances, interior-gap constraints, and endpoint requirements. Wave grids may be consecutive integers or the observed schedule (e.g. biennial panels). Includes tolerance-sensitivity and attrition-selectivity diagnostics, plus a generator of ready-to-paste methods-section justification text. A full workflow guide is available at <https://siardv.github.io/weasel/>.

Authors:Siard van den Bosch [aut, cre, cph]

weasel_0.4.4.tar.gz
weasel_0.4.4.zip(r-4.7-any)weasel_0.4.4.zip(r-4.6-any)weasel_0.4.4.zip(r-4.5-any)
weasel_0.4.4.tgz(r-4.6-any)weasel_0.4.4.tgz(r-4.5-any)
weasel_0.4.4.tar.gz(r-4.7-any)weasel_0.4.4.tar.gz(r-4.6-any)
weasel_0.4.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
weasel/json (API)

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

Bug tracker:https://github.com/siardv/weasel/issues

On CRAN:

Conda:

data-preprocessinglongitudinal-datamissing-datapanel-datarepeated-measuresreproducible-researchsample-selectionsensitivity-analysissurvey-data

5.08 score 1 scripts 29 exports 0 dependencies

Last updated from:7ef2352145. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK142
source / vignettesOK200
linux-releaseOK133
macos-releaseOK221
macos-oldrelOK209
windows-develOK231
windows-releaseOK241
windows-oldrelOK233
wasm-releaseOK100

Exports:evaluate_weasel_scopefilter_setsfilter_wave_summarygenerate_setsgenerate_weasel_dummy_dataget_data_by_rowlogoreshape_to_wideset_weasel_scopesummarize_wavesweasel_applyweasel_clear_scopeweasel_compare_scenariosweasel_compare_to_sentenceweasel_exampleweasel_filter_wave_summaryweasel_get_data_by_rowweasel_justify_subsetweasel_logoweasel_match_scenarioweasel_planweasel_print_tableweasel_reshape_to_wideweasel_scope_infoweasel_selectivityweasel_sensitivityweasel_subset_to_sentenceweasel_summarize_subsetweasel_summarize_waves

Dependencies:

Advanced weasel: Selection Constraints and Diagnostics
Gap semantics | Custom scenarios | Scoring and weights | Non-consecutive wave schedules | Sensitivity of the sample size to the tolerances | Selectivity: who gets excluded? | Plans without attached data | Span selection in detail | Explicit analysis windows | Auditing the recommendation | The planning population | Auditing per-respondent metrics | Scope pipeline constraints | Justification styles | Quiet mode and reproducibility

Last update: 2026-10-18
Started: 2026-06-13

Introduction to weasel: Wave and Respondent Selection
What weasel does | Synthetic example data | The scope pipeline | The plan pipeline | Justification text for your methods section

Last update: 2026-10-01
Started: 2026-06-13