Skip to content
This package was removed from CRAN on 2020-06-15. Its history is shown below.
Reason: check problems were not corrected in time
Details below reflect version 0.2.1, its last release before removal.

gridsample

0.2.1

Tools for Grid-Based Survey Sampling Design

0packages depend
downloads / year
test coverage
checks pass

Overview

About
Maintained by Nick Ruktanonchai4 releasesCRAN page ↗

Multi-stage cluster surveys of households are commonly performed by governments and programmes to monitor population-level demographic, social, economic, and health outcomes. Generally, communities are sampled from subpopulations (strata) in a first stage, and then households are listed and sampled in a second stage. In this typical two-stage design, sampled communities are the Primary Sampling Units (PSUs) and households are the Secondary Sampling Units (SSUs). Census data typically serve as the sample frame from which PSUs are selected. However, if census data are outdated inaccurate, or too geographically course, gridded population data (such as http://www.worldpop.org.uk) can be used as a sample frame instead. GridSample (doi:10.1186/s12942-017-0098-4) generates PSUs from gridded population data according to user-specified complex survey design characteristics and household sample size. In gridded population sampling, like census sampling, PSUs are selected within each stratum using a serpentine sampling method, and can be oversampled in urban or rural areas to ensure a minimum sample size in each of these important sub-domains. Furthermore, because grid cells are uniform in size and shape, gridded population sampling allows for samples to be representative of both the population and of space, which is not possible with a census sample frame.

Install

Health

CRAN checks

CRAN check results are not tracked yet.

Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
10
Dependencies · direct

Documentation

Documentation
READMEYes · 20 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

gridsample
Daily download trend is not available in this view yet.
Also on68 c2d4u

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.2.3
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code & Tests

People & History

People (6)
Maintainer (1)
Maintainer · added in 0.2.1
Authors (4)
Author · added in 0.2.1
Author · added in 0.2.1
Author · added in 0.2.1
Author · added in 0.2.1
Contributors (1)
Contributor · added in 0.2.1
Listed in earlier versions (5)
no longer listed · 0.1.2 to 0.2.0
no longer listed · 0.1.2 to 0.2.0
no longer listed · 0.1.2 to 0.2.0
no longer listed · 0.1.2 to 0.2.0
no longer listed · 0.1.2 to 0.2.0
Package Timeline

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

  • R
    R 4.1.0 released · 2021-05-18
  • archivedRemoved from CRAN
    2020-06-15
    check problems were not corrected in time
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.1
    2018-08-07 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.2.0
    2017-04-09 · diff ↗
  • 0.1.3
    2016-11-30 · diff ↗
  • 0.1.2
    2016-11-24
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

Total releases
4
License
MIT + file LICENSE OSI
Minimum R
≥ 3.2.3
Bundled data
57 KB / 1 file
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gridsample")
R. Thomson, D., Ruktanonchai, N., R. Stevens, F., Castro, M., J. Tatem, A., & A. Zagatti, G. (n.d.). gridsample: Tools for Grid-Based Survey Sampling Design (Version 0.2.1) [Computer software]. Retrieved August 14, 2026, from https://CRAN.R-project.org/package=gridsample

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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

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