Package: DDIwR 0.19.18

DDIwR: DDI with R

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.

Authors:Adrian Dusa [aut, cre, cph]

DDIwR_0.19.18.tar.gz
DDIwR_0.19.18.zip(r-4.7)DDIwR_0.19.18.zip(r-4.6)DDIwR_0.19.18.zip(r-4.5)
DDIwR_0.19.18.tgz(r-4.6-x86_64)DDIwR_0.19.18.tgz(r-4.6-arm64)DDIwR_0.19.18.tgz(r-4.5-x86_64)DDIwR_0.19.18.tgz(r-4.5-arm64)
DDIwR_0.19.18.tar.gz(r-4.7-arm64)DDIwR_0.19.18.tar.gz(r-4.7-x86_64)DDIwR_0.19.18.tar.gz(r-4.6-arm64)DDIwR_0.19.18.tar.gz(r-4.6-x86_64)
DDIwR_0.19.18.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
DDIwR/json (API)

# Install 'DDIwR' in R:
install.packages('DDIwR', repos = c('https://dusadrian.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dusadrian/ddiwr/issues

Uses libs:
  • zlib– Compression library

On CRAN:

Conda:

zlib

5.02 score 20 stars 13 scripts 258 downloads 84 exports 25 dependencies

Last updated from:1f7031b080. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK181
linux-devel-x86_64OK159
source / vignettesOK218
linux-release-arm64OK156
linux-release-x86_64OK139
macos-release-arm64OK128
macos-release-x86_64OK206
macos-oldrel-arm64OK118
macos-oldrel-x86_64OK232
windows-develOK153
windows-releaseOK147
windows-oldrelOK201
wasm-releaseOK112

Exports:addAttributesaddChildrenaddContentanyAttributesanyChildrenasciibuildDictionarycanonicalVariableMetadatachangeAttributeschangeContentchangeXMLangcheckArgumentcheckDotscheckElementcheckExistingcheckTypecheckXMListcleanupcoerceDDIcollectMetadatacollectRMetadataconvertexportCodebookexportDDIextractDataformatExamplegenerateIDgetChildrengetCodebookgetDateTimegetDelimitergetDNSgetEntergetEnvgetFilesgetFormatgetHashesgetMetadatagetMetadataHashesgetValuesgetXMLgetXMLMetadataInfoglobalAttributeshasAttributeshasChildrenhashVariableMetadatahasLabelshasMissingLabelsimport_excelindexChildrenmakeCategoriesmakeDataNotesmakeElementmakeLabelledmakeNotesmakePathmissingValuesSPSSmoveChildprespacerecodeCharcatrecodeMissingsremoveAttributesremoveChildrenremoveContentremoveExtrarepeatSpacereplaceCharsreplaceChildreplaceTickssearchForsetupfileshowAttributesshowDescriptionshowDetailsshowExamplesshowLineagesshowRelationssplitrowstestValidtreatPathupdateCodebookwriteMetadatawriteRlistXMLtoRmetadata

Dependencies:admiscbase64enccellrangerclicpp11crayondeclareddigestgluehmslifecyclemagrittrpillarpkgconfigprettyunitsprogressR6readxlrematchrlangtibbleutf8vctrswritexlxml2

Readme and manuals

Help Manual

Help pageTopics
Build a dictionary of missing-value recodesbuildDictionary
Converts a dataset from one statistical software to anotherconvert
Add/remove/change one or more children or attributes from a DDI Codebook attribute.addAttributes addChildren addContent anyAttributes anyChildren changeAttributes changeContent DDI-children getChildren hasAttributes hasChildren indexChildren makePath moveChild removeAttributes removeChildren removeContent replaceChild
Export a DDI Codebook to an XML file.exportCodebook
Extract metadata informationgetCodebook
Create the 'catgry' elements for a particular variablemakeCategories
Create a 'notes' element for the dataset.makeDataNotes
Make a DDI Codebook elementmakeElement
Recode character categorical variablesrecodeCharcat
Consistent recoding of (extended) missing valuesrecodeMissings
Search for key wordssearchFor
Create setup files for SPSS, Stata, SAS and Rsetupfile
Describe what a DDI element isglobalAttributes showAttributes showDescription showDetails showExamples showLineages showRelations
Validate a DDI element.testValid
Update Codebook.updateCodebook
Updates the internal DDI Codebook schema object.updateSchema