Package: weightflow Title: Declarative API for Staged Survey Weights Version: 0.1.0 Authors@R: person("Juan Pablo", "Ferreira", email = "juanpablo.ferreira@fcea.edu.uy", role = c("aut", "cre")) Description: 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) . 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) , so the replicate weights carry the variability of every adjustment. The weights also bridge to the 'survey' and 'srvyr' packages for design-based inference. License: MIT + file LICENSE Encoding: UTF-8 Language: en-US Depends: R (>= 4.1.0) Imports: stats, utils, graphics Suggests: rpart, ranger, testthat (>= 3.0.0), survey, srvyr, dplyr, tidyr, ggplot2, haven, archive, knitr, rmarkdown, spelling, xgboost Roxygen: list(markdown = TRUE, roclets = c("rd")) Config/roxygen2/version: 8.0.0 URL: https://github.com/jpferreira33/weightflow, https://jpferreira33.github.io/weightflow/ BugReports: https://github.com/jpferreira33/weightflow/issues Config/testthat/edition: 3 LazyData: true VignetteBuilder: knitr Repository: https://jpferreira33.r-universe.dev Date/Publication: 2026-07-02 17:13:40 UTC RemoteUrl: https://github.com/jpferreira33/weightflow RemoteRef: HEAD RemoteSha: 639c646ae196cf1e117fa88b3fb1b954b0df1dc4 NeedsCompilation: no Packaged: 2026-07-02 17:44:26 UTC; root Author: Juan Pablo Ferreira [aut, cre] Maintainer: Juan Pablo Ferreira