Skip to content

sampleVADIR

1.0.0

Draw Stratified Samples from the VADIR Database

0packages depend
2.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Trevor SwansonFirst published 2021-10-271 releasesCRAN page ↗GitHub ↗

Affords researchers the ability to draw stratified samples from the U.S. Department of Veteran's Affairs/Department of Defense Identity Repository (VADIR) database according to a variety of population characteristics. The VADIR database contains information for all veterans who were separated from the military after 1980. The central utility of the present package is to integrate data cleaning and formatting for the VADIR database with the stratification methods described by Mahto (2019) https://CRAN.R-project.org/package=splitstackshape. Data from VADIR are not provided as part of this package.

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
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 · 153 wordsVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
50%
Documented parameters
99%
Return-value docs
100%
References docs
0%

Downloads

2.8K
CRAN downloads in the past year
Rank #14,892 · ~8/day · ~232/mo
Daily download trend is not available in this view yet.
19130 days
71590 days
2.8K1 year
Compare downloads with other packages →
Also on148 r2u30 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
1Releases
14Commits
1Contributors
License GPL-3.0 · 14 commits · Last activity 2021-10-28

Releases over time

2021-10-27 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/tswanson222/samplevadir on 2026-08-23.

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (3)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (3)
Contributor
Contributor
Contributor
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2021-10-27
Total releases
1 / 5 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 2.10
Bundled data
1.4 MB / 2 files
Download size
1.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sampleVADIR")
Swanson, T., Forbush, K., Gaddy, M., Oehlert, M., & Wiese, J. (2021). sampleVADIR: Draw Stratified Samples from the VADIR Database (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.sampleVADIR

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

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