Learn R Programming

DDIwR (version 0.24)

DDI with R

Description

Useful functions for various DDI (Data Documentation Initiative) related inputs and outputs. Converts data files to and from DDI, SPSS, Stata, SAS, R and Excel, including user declared missing values.

Copy Link

Version

Install

install.packages('DDIwR')

Monthly Downloads

767

Version

0.24

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Adrian Dusa

Last Published

November 10th, 2026

Functions in DDIwR (0.24)

makeCategories

Create the catgry elements for a particular variable
recodeMissings

Consistent recoding of (extended) missing values
testValid

Validate a DDI element.
setupfile

Create setup files for SPSS, Stata, SAS and R
updateCodebook

Update Codebook.
recodeCharcat

Recode character categorical variables
makeElement

Make a DDI Codebook element
showDetails

Describe what a DDI element is
updateSchema

Update the internal DDI Codebook schema object.
vendorMetadata

Read and edit vendor-specific metadata
makeDataNotes

Create a notes element for the dataset.
searchFor

Search for key words
DDI-children

Add/remove/change one or more children or attributes from a DDI Codebook attribute.
convert

Converts a dataset from one statistical software to another
DDIwRParallel

Parallel variable analysis
exportCodebook

Export a DDI Codebook to an XML file.
DDIwR_internal

DDIwR internal functions
DDIwR_package

Useful functions for various DDI (Data Documentation Initiative) related outputs.
buildDictionary

Build a dictionary of missing-value recodes
clearFormats

Clear statistical variable formats and widths
getCodebook

Extract metadata information
inspectFile

Inspect statistical file metadata without importing observations