Skip to content

Sequential Poisson Sampling

0packages dependsuggested by 1
3.9Kdownloads / year
92.5%test coverage
13/13flavors OK

Overview

About

Sequential Poisson sampling is a variation of Poisson sampling for drawing probability-proportional-to-size samples with a given number of units, and is commonly used for price-index surveys. This package gives functions to draw stratified sequential Poisson samples according to the method by Ohlsson (1998, ISSN:0282-423X), as well as other order sample designs by Rosén (1997, doi:10.1016/S0378-3758(96)00186-3), and generate approximate bootstrap replicate weights according to the generalized bootstrap method by Beaumont and Patak (2012, doi:10.1111/j.1751-5823.2011.00166.x).

Changes in 0.7.0
  • Added a new option sps.usekit to control if {kit} is used for partial

sorting.

  • Added a new vignette about sampling performance.
  • Fixed poorly-rendered tables in vignettes.
  • sps_iterator() is now much faster for large populations.
  • Code is now hosted on codeberg.
  • License has changed from MIT to GPL (>= 3).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.4 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.7.0
READMEYes · 386 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 0.7.0Citation fileYes · computed when R runs itWebsitenot declared in DESCRIPTION
Help pages
7 (1 internal)includes a package overview page
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
43% with a bibliography file

Downloads

3.9K
CRAN downloads in the past year
Rank #9,778 · ~11/day · ~323/mo
Daily download trend is not available in this view yet.
31630 days
1K90 days
3.9K1 year
Compare downloads with other packages →
Also on114 r2u3 autocran1.7K conda_forge

Repository

0Stars
0Forks
0Open issues
0Open PRs
226Commits
5Commit identities
cranrrstatssamplingstatistics
226 commits · Last activity 2026-09-18
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
GitHub only
Median days to close, 50 most recently updated closed PRs
GitHub only

Stars over time

2025-08-06 · 52026-10-21 · 0
Earlier repositories
PracticesBeta

Repository codeberg.org/marberts/sps is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing sps adds no packages beyond those that come with R.

Depends (1)
R >= 4.2
Imports (1)
stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.1.1 (2021), Copyright holder
Contributor
Releases (17)

Pick two releases to compare their code metrics.

Show 7 earlier eventsHide 7 earlier events

Package metadata

First published
2021-08-20
Total releases
17 / 5 yrs
License
GPL (>= 3) OSI · relicensed from MIT + file LICENSE in 0.7.0
Minimum R
≥ 4.2
Download size
149 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sps")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sps version 0.7.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy