The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

weightflow: Declarative API for Staged Survey Weights

Builds survey weights from design base weights by chaining hierarchical adjustments (unknown eligibility, nonresponse and calibration) through a declarative, pipeable, 'tidymodels'-style API. Calibration follows Deville and Sarndal (1992) <doi:10.2307/2290268>. Variances are obtained with a bootstrap that resamples primary sampling units and re-applies the whole recipe on each replicate, following the rescaling bootstrap of Rao and Wu (1988) <doi:10.1080/01621459.1988.10478591>, so the replicate weights carry the variability of every adjustment. The weights also bridge to the 'survey' and 'srvyr' packages for design-based inference.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: stats, utils, graphics
Suggests: rpart, ranger, testthat (≥ 3.0.0), survey, srvyr, dplyr, knitr, rmarkdown, spelling
Published: 2026-06-30
DOI: 10.32614/CRAN.package.weightflow (may not be active yet)
Author: Juan Pablo Ferreira [aut, cre]
Maintainer: Juan Pablo Ferreira <juanpablo.ferreira at fcea.edu.uy>
BugReports: https://github.com/jpferreira33/weightflow/issues
License: MIT + file LICENSE
URL: https://github.com/jpferreira33/weightflow, https://jpferreira33.github.io/weightflow/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: weightflow results

Documentation:

Reference manual: weightflow.html , weightflow.pdf
Vignettes: Variance estimation (source, R code)

Downloads:

Package source: weightflow_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): weightflow_0.1.0.tgz, r-oldrel (arm64): not available, r-release (x86_64): weightflow_0.1.0.tgz, r-oldrel (x86_64): weightflow_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=weightflow to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.