Package: DDIwR 0.24

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.24.tar.gz
DDIwR_0.24.zip(r-4.7-x86_64)DDIwR_0.24.zip(r-4.7-arm64)DDIwR_0.24.zip(r-4.6-x86_64)DDIwR_0.24.zip(r-4.6-arm64)DDIwR_0.24.zip(r-4.5-x86_64)
DDIwR_0.24.tgz(r-4.6-x86_64)DDIwR_0.24.tgz(r-4.6-arm64)DDIwR_0.24.tgz(r-4.5-x86_64)DDIwR_0.24.tgz(r-4.5-arm64)
DDIwR_0.24.tar.gz(r-4.7-arm64)DDIwR_0.24.tar.gz(r-4.7-x86_64)DDIwR_0.24.tar.gz(r-4.6-arm64)DDIwR_0.24.tar.gz(r-4.6-x86_64)
DDIwR_0.24.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
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.30 score 22 stars 845 downloads 89 exports 25 dependencies

Last updated from:bcb9cbe0a3. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK197
linux-devel-x86_64OK188
source / vignettesOK310
linux-release-arm64OK198
linux-release-x86_64OK201
macos-release-arm64OK264
macos-release-x86_64OK376
macos-oldrel-arm64OK253
macos-oldrel-x86_64OK315
windows-devel-arm64OK327
windows-devel-x86_64OK225
windows-release-arm64OK379
windows-release-x86_64OK171
windows-oldrel-x86_64OK191
wasm-releaseOK134

Exports:addAttributesaddChildrenaddContentanyAttributesanyChildrenasciibuildDictionarycanonicalVariableMetadatachangeAttributeschangeContentchangeXMLangcheckArgumentcheckDotscheckElementcheckExistingcheckTypecheckXMListcleanupclearFormatsclearWidthscoerceDDIcollectMetadatacollectRMetadataconvertexportCodebookexportDDIextractDataformatExamplegenerateIDgetChildrengetCodebookgetDateTimegetDelimitergetDNSgetEntergetEnvgetFilesgetFormatgetHashesgetMetadatagetMetadataHashesgetValuesgetXMLgetXMLMetadataInfoglobalAttributeshasAttributeshasChildrenhashVariableMetadatahasLabelshasMissingLabelsimport_excelindexChildreninspectFilemakeCategoriesmakeDataNotesmakeElementmakeLabelledmakeNotesmakePathmissingValuesSPSSmoveChildprespacerecodeCharcatrecodeMissingsremoveAttributesremoveChildrenremoveContentremoveExtrarepeatSpacereplaceCharsreplaceChildreplaceTickssearchForsetupfileshowAttributesshowDescriptionshowDetailsshowExamplesshowLineagesshowRelationssplitrowstestValidtreatPathupdateCodebookvendorMetadatavendorMetadata<-writeMetadatawriteRlistXMLtoRmetadata

Dependencies:admiscbase64enccellrangerclicpp11crayondeclareddigestgluehmslifecyclemagrittrpillarpkgconfigprettyunitsprogressR6readxlrematchrlangtibbleutf8vctrswritexlxml2

Readme and manuals

Help Manual

Help pageTopics
Build a dictionary of missing-value recodesbuildDictionary
Clear statistical variable formats and widthsclearFormats clearWidths
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
Inspect statistical file metadata without importing observationsinspectFile
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
Update the internal DDI Codebook schema object.updateSchema
Read and edit vendor-specific metadatavendorMetadata vendorMetadata<-