Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
^CODE_OF_CONDUCT\.md$
^doc$
^Meta$
^CITATION\.cff$
4 changes: 2 additions & 2 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ In the interest of fostering an open and welcoming environment, we as contributo

## Our Standards

Examples of behavior that contributes to creating a positive environment include:
Examples of behaviour that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:
Examples of unacceptable behaviour by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
Expand Down
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@

* Fork this repository to your Github account

* Clone your version on your account down to your machine from your account
* Clone your forked version to your machine with

```
```bash
git clone https://github.com/<yourgithubusername>/bbw.git
```

* Make sure to track progress upstream i.e., on our version of `bbw`
at `rapidsurveys/bbw`, by doing

```
```bash
git remote add upstream https://github.com/rapidsurveys/bbw.git
```

Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/mirror-codeberg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Mirror to other git server
on:
push:
branches:
- main
tags:
- "*"
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: https://codeberg.org/rapidsurveys/bbw
GIT_USERNAME: ${{ secrets.CODEBERG_USERNAME }}
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}
7 changes: 4 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@ jobs:
clean = FALSE,
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
)
print(cov)
covr::to_cobertura(cov)
shell: Rscript {0}

- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@v5
with:
# Fail if error if not on PR, or if on PR and token is given
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
file: ./cobertura.xml
plugin: noop
files: ./cobertura.xml
plugins: noop
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
301 changes: 301 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------

cff-version: 1.2.0
message: 'To cite package "bbw" in publications use:'
type: software
license: GPL-3.0-only
title: 'bbw: Blocked Weighted Bootstrap'
version: 0.3.1
doi: 10.5281/zenodo.6594797
identifiers:
- type: doi
value: 10.32614/CRAN.package.bbw
abstract: The blocked weighted bootstrap (BBW) is an estimation technique for use
with data from two-stage cluster sampled surveys in which either prior weighting
(e.g. population-proportional sampling or PPS as used in Standardized Monitoring
and Assessment of Relief and Transitions or SMART surveys) or posterior weighting
(e.g. as used in rapid assessment method or RAM and simple spatial sampling method
or S3M surveys) is implemented. See Cameron et al (2008) <https://doi.org/10.1162/rest.90.3.414>
for application of bootstrap to cluster samples. See Aaron et al (2016) <https://doi.org/10.1371/journal.pone.0163176>
and Aaron et al (2016) <https://doi.org/10.1371/journal.pone.0162462> for application
of the blocked weighted bootstrap to estimate indicators from two-stage cluster
sampled surveys.
authors:
- family-names: Myatt
given-names: Mark
email: mark@brixtonhealth.com
- family-names: Guevarra
given-names: Ernest
email: ernestgmd@gmail.com
orcid: https://orcid.org/0000-0002-4887-4415
preferred-citation:
type: manual
title: 'bbw: Blocked Weighted Bootstrap'
authors:
- name: Mark Myatt
- name: Ernest Guevarra
year: '2026'
notes: R package version 0.3.1
url: https://rapidsurveys.io/bbw/
doi: 10.5281/zenodo.6594797
repository: https://CRAN.R-project.org/package=bbw
repository-code: https://github.com/rapidsurveys/bbw
url: https://rapidsurveys.io/bbw/
contact:
- family-names: Guevarra
given-names: Ernest
email: ernestgmd@gmail.com
orcid: https://orcid.org/0000-0002-4887-4415
keywords:
- bootstrapping-statistics
- r
- ram
- surveys
references:
- type: software
title: 'R: A Language and Environment for Statistical Computing'
notes: Depends
url: https://www.R-project.org/
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2026'
version: '>= 4.2.0'
- type: software
title: car
abstract: 'car: Companion to Applied Regression'
notes: Imports
url: https://CRAN.R-project.org/package=car
repository: https://CRAN.R-project.org/package=car
authors:
- family-names: Fox
given-names: John
email: jfox@mcmaster.ca
- family-names: Weisberg
given-names: Sanford
email: sandy@umn.edu
- family-names: Price
given-names: Brad
email: brad.price@mail.wvu.edu
year: '2026'
doi: 10.32614/CRAN.package.car
- type: software
title: cli
abstract: 'cli: Helpers for Developing Command Line Interfaces'
notes: Imports
url: https://cli.r-lib.org
repository: https://CRAN.R-project.org/package=cli
authors:
- family-names: Csárdi
given-names: Gábor
email: gabor@posit.co
year: '2026'
doi: 10.32614/CRAN.package.cli
- type: software
title: doParallel
abstract: 'doParallel: Foreach Parallel Adaptor for the ''parallel'' Package'
notes: Imports
url: https://github.com/RevolutionAnalytics/doparallel
repository: https://CRAN.R-project.org/package=doParallel
authors:
- family-names: Corporation
given-names: Microsoft
- family-names: Weston
given-names: Steve
year: '2026'
doi: 10.32614/CRAN.package.doParallel
- type: software
title: foreach
abstract: 'foreach: Provides Foreach Looping Construct'
notes: Imports
url: https://github.com/RevolutionAnalytics/foreach
repository: https://CRAN.R-project.org/package=foreach
authors:
- name: Microsoft
- family-names: Weston
given-names: Steve
year: '2026'
doi: 10.32614/CRAN.package.foreach
- type: software
title: methods
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2026'
- type: software
title: parallel
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2026'
- type: software
title: parallelly
abstract: 'parallelly: Enhancing the ''parallel'' Package'
notes: Imports
url: https://parallelly.futureverse.org
repository: https://CRAN.R-project.org/package=parallelly
authors:
- family-names: Bengtsson
given-names: Henrik
email: henrikb@braju.com
orcid: https://orcid.org/0000-0002-7579-5165
year: '2026'
doi: 10.32614/CRAN.package.parallelly
- type: software
title: stats
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2026'
- type: software
title: stringr
abstract: 'stringr: Simple, Consistent Wrappers for Common String Operations'
notes: Imports
url: https://stringr.tidyverse.org
repository: https://CRAN.R-project.org/package=stringr
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
year: '2026'
doi: 10.32614/CRAN.package.stringr
- type: software
title: withr
abstract: 'withr: Run Code ''With'' Temporarily Modified Global State'
notes: Imports
url: https://withr.r-lib.org
repository: https://CRAN.R-project.org/package=withr
authors:
- family-names: Hester
given-names: Jim
- family-names: Henry
given-names: Lionel
email: lionel@posit.co
- family-names: Müller
given-names: Kirill
email: krlmlr+r@mailbox.org
- family-names: Ushey
given-names: Kevin
email: kevinushey@gmail.com
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
- family-names: Chang
given-names: Winston
year: '2026'
doi: 10.32614/CRAN.package.withr
- type: software
title: knitr
abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
notes: Suggests
url: https://yihui.org/knitr/
repository: https://CRAN.R-project.org/package=knitr
authors:
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
year: '2026'
doi: 10.32614/CRAN.package.knitr
- type: software
title: rmarkdown
abstract: 'rmarkdown: Dynamic Documents for R'
notes: Suggests
url: https://pkgs.rstudio.com/rmarkdown/
repository: https://CRAN.R-project.org/package=rmarkdown
authors:
- family-names: Allaire
given-names: JJ
email: jj@posit.co
- family-names: Xie
given-names: Yihui
email: xie@yihui.name
orcid: https://orcid.org/0000-0003-0645-5666
- family-names: Dervieux
given-names: Christophe
email: cderv@posit.co
orcid: https://orcid.org/0000-0003-4474-2498
- family-names: McPherson
given-names: Jonathan
email: jonathan@posit.co
- family-names: Luraschi
given-names: Javier
- family-names: Ushey
given-names: Kevin
email: kevin@posit.co
- family-names: Atkins
given-names: Aron
email: aron@posit.co
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
- family-names: Cheng
given-names: Joe
email: joe@posit.co
- family-names: Chang
given-names: Winston
email: winston@posit.co
- family-names: Iannone
given-names: Richard
email: rich@posit.co
orcid: https://orcid.org/0000-0003-3925-190X
year: '2026'
doi: 10.32614/CRAN.package.rmarkdown
- type: software
title: testthat
abstract: 'testthat: Unit Testing for R'
notes: Suggests
url: https://testthat.r-lib.org
repository: https://CRAN.R-project.org/package=testthat
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
year: '2026'
doi: 10.32614/CRAN.package.testthat
- type: software
title: spelling
abstract: 'spelling: Tools for Spell Checking in R'
notes: Suggests
url: https://ropensci.r-universe.dev/spelling
repository: https://CRAN.R-project.org/package=spelling
authors:
- family-names: Ooms
given-names: Jeroen
email: jeroenooms@gmail.com
orcid: https://orcid.org/0000-0002-4035-0289
- family-names: Hester
given-names: Jim
email: james.hester@rstudio.com
year: '2026'
doi: 10.32614/CRAN.package.spelling
- type: software
title: covr
abstract: 'covr: Test Coverage for Packages'
notes: Suggests
url: https://covr.r-lib.org
repository: https://CRAN.R-project.org/package=covr
authors:
- family-names: Hester
given-names: Jim
email: james.f.hester@gmail.com
year: '2026'
doi: 10.32614/CRAN.package.covr

Loading