Learn R Programming

sampleVADIR

R package designed to afford 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 parameters. The VADIR database contains information for all veterans who were separated from the military after 1980. This package is intended to be used in conjunction with VADIR data in order to pull nationally representative samples of veterans for research purposes. Actual VADIR data not supplied with this package. More information about the VADIR database can be found here.

Installation

You can install the development version of sampleVADIR from GitHub with:

#install.packages('devtools')
devtools::install_github('tswanson222/sampleVADIR')

Examples along with further details about usage to be provided soon.

Please contact trevorswanson222@gmail.com with any questions.

Copy Link

Version

Install

install.packages('sampleVADIR')

Monthly Downloads

188

Version

1.0.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Trevor Swanson

Last Published

October 27th, 2021

Functions in sampleVADIR (1.0.0)

checkData

Compare old and new versions of VADIR to find repeats
VADIR_fake

Fake VADIR data
fixTypos

Fix typos in VADIR dataset
getData

Data import function to accommodate multiple filetypes
testStrata

Return correlations for demographics between population and sample
sampleVADIR

Draw stratified samples from VADIR database
rankDat

Rank to pay grade data