Draw Stratified Samples from the VADIR Database
Overview
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.
First version to be submitted to CRAN
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 7
- Examples that run
- 50%1 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 40%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Releases over time
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/tswanson222/samplevadir on 2026-10-22.
Dependencies
Installing sampleVADIR adds 6 packages (3 with compiled code, 6.6 MB of source tarballs). Heaviest: data.table 5.7 MB, lubridate 420 KB, cpp11 298 KB.
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.0.0Latest2021-10-27 · current release
- RR 4.1.0 released · 2021-05-18
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
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sampleVADIR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.