Skip to content

drawsample

1.0.2Package record

Draw Samples with the Desired Properties from a Data Set

0packages depend
3.2Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A tool to sample data with the desired properties.Samples can be drawn by purposive sampling with determining distributional conditions, such as deviation from normality (skewness and kurtosis), and sample size in quantitative research studies. For purposive sampling, a researcher has something in mind and participants that fit the purpose of the study are included (Etikan,Musa, & Alkassim, 2015) doi:10.11648/j.ajtas.20160501.11.Purposive sampling can be useful for answering many research questions (Klar & Leeper, 2019) doi:10.1002/9781119083771.ch21.

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-06
  • ERROR13 OK, 1 ERROR2026-04-04
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.2
READMEYes · 62 wordsVignettesNoNEWSYes · 67% structured · does not mention 1.0.2Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
10includes a package overview page
Examples that run
78%7 run in a plain check · 1 never run · 1 hold no code
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
83%
Help pages citing references
60%

Downloads

3.2K
CRAN downloads in the past year
Rank #12,606 · ~9/day · ~265/mo
Daily download trend is not available in this view yet.
35630 days
88190 days
3.2K1 year
Compare downloads with other packages →
Also on2.3K r2u8 autocran

Repository

1Stars
2Forks
0Open issues
0Open PRs
0Releases
11Commits
2Commit identities
11 commits · Last activity 2026-01-20
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2022-09-06 · 12026-07-07 · 1
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/atalay-k/drawsample on 2026-10-11.

Docs source (1)
README.Rmd
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing drawsample adds 55 packages (27 with compiled code, 45 MB of source tarballs). Heaviest: xlsxjars 9.8 MB, bslib 5.6 MB, promises 3.1 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.1.1 (2020)
Contributor · added in 1.0.0
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.2Latest
    record
    2026-01-20 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.1
    record
    2022-09-05 · diff ↗ ·
    added 3 exports
    draw_sample_ir, draw_sample_n_ir, draw_sample_rep
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.0
    record
    2021-03-01 · diff ↗ ·
    added 2 exports
    draw_sample_n, draw_sample_shiny
  • 0.1.1
    record
    2020-12-02
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-12-02
Total releases
4 / 6 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-2 in 1.0.1
Minimum R
≥ 2.10
Bundled data
121 KB / 3 files
Download size
145 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("drawsample")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.21031/epod.790449.

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 drawsample version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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