Learn R Programming

DDIwR (version 0.21)

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.21

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Adrian Dusa

Last Published

September 13th, 2026

Functions in DDIwR (0.21)

makeCategories

Create the catgry elements for a particular variable
DDIwR_internal

DDIwR internal functions
makeElement

Make a DDI Codebook element
DDI-children

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

Build a dictionary of missing-value recodes
getCodebook

Extract metadata information
convert

Converts a dataset from one statistical software to another
exportCodebook

Export a DDI Codebook to an XML file.
makeDataNotes

Create a notes element for the dataset.
recodeCharcat

Recode character categorical variables
setupfile

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

Update Codebook.
searchFor

Search for key words
updateSchema

Update the internal DDI Codebook schema object.
DDIwR_package

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

Describe what a DDI element is
testValid

Validate a DDI element.
recodeMissings

Consistent recoding of (extended) missing values