Learn R Programming

DDIwR (version 0.20)

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

293

Version

0.20

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Adrian Dusa

Last Published

August 22nd, 2026

Functions in DDIwR (0.20)

showDetails

Describe what a DDI element is
testValid

Validate a DDI element.
recodeMissings

Consistent recoding of (extended) missing values
recodeCharcat

Recode character categorical variables
updateCodebook

Update Codebook.
updateSchema

Updates the internal DDI Codebook schema object.
setupfile

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

Search for key words
DDI-children

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

Build a dictionary of missing-value recodes
makeCategories

Create the catgry elements for a particular variable
getCodebook

Extract metadata information
exportCodebook

Export a DDI Codebook to an XML file.
DDIwR_internal

DDIwR internal functions
makeElement

Make a DDI Codebook element
makeDataNotes

Create a notes element for the dataset.
convert

Converts a dataset from one statistical software to another
DDIwR_package

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