Skip to content

sps

0.6.4

Sequential Poisson Sampling

1packages depend
4.2Kdownloads / year
89.5%test coverage
13/13checks pass

Overview

About
Maintained by Steve MartinFirst published 2021-08-2016 releasesCRAN page ↗GitHub ↗

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).

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.00
89.5%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 396 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
43%

Downloads

4.2K
CRAN downloads in the past year
Rank #10,901 · ~11/day · ~347/mo
Daily download trend is not available in this view yet.
30030 days
89590 days
4.2K1 year
Compare downloads with other packages →
Also on132 r2u18 autocran1.7K conda_forge

Repository

Repository
5Stars
1Forks
0Open issues
1Open PRs
8Releases
214Commits
2Contributors
rr-packagecranstatisticsrstatsofficial-statisticssamplingsurvey-sampling
214 commits · Last activity 2026-08-18 · 0% stars, 30d

Stars over time

2025-08-06 · 52026-07-07 · 5

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/marberts/sps on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Research and citation (1)
CITATION.cff
Show all practices
Lint, format, editor (1)
Air
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2
Imports (1)
stats
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (1)
Contributor
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

16 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.6.4Latest
    2026-07-19 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.3
    2025-11-19 · diff ↗
  • 0.6.2
    2025-08-24 · diff ↗
  • 0.6.1
    2025-07-10 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.6.0
    2025-02-09 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.4
    2024-02-23 · diff ↗
  • 0.5.3
    2023-10-16 · diff ↗
  • 0.5.2
    2023-08-22 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5.0
    2023-04-10 · diff ↗
  • 0.4.1
    2023-02-12 · diff ↗
  • 0.4.0
    2023-02-11 · diff ↗
  • 0.3.0
    2022-11-23 · diff ↗
Show 6 earlier events
  • 0.2.0
    2022-10-28 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.3
    2022-02-09 · diff ↗
  • 0.1.2
    2021-12-11 · diff ↗
  • 0.1.1
    2021-08-20
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-08-20
Total releases
16 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2
Download size
119 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sps")

The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.

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.6.4 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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