Package: DDIwR 0.22

Adrian Dusa

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.22.tar.gz
DDIwR_0.22.zip(r-4.7-x86_64)DDIwR_0.22.zip(r-4.7-arm64)DDIwR_0.22.zip(r-4.6-x86_64)DDIwR_0.22.zip(r-4.6-arm64)
DDIwR_0.22.tar.gz(r-4.7-arm64)DDIwR_0.22.tar.gz(r-4.7-x86_64)DDIwR_0.22.tar.gz(r-4.6-arm64)DDIwR_0.22.tar.gz(r-4.6-x86_64)
DDIwR_0.22.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://cran.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

1.62 score 1 stars 14 scripts 593 downloads 89 exports 25 dependencies

Last updated from:a15f33bb91. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK109
linux-devel-x86_64OK134
source / vignettesOK200
linux-release-arm64OK107
linux-release-x86_64OK127
windows-devel-arm64OK234
windows-devel-x86_64OK177
windows-release-arm64OK246
windows-release-x86_64OK143
wasm-releaseOK108

Exports:addAttributesaddChildrenaddContentanyAttributesanyChildrenasciibuildDictionarycanonicalVariableMetadatachangeAttributeschangeContentchangeXMLangcheckArgumentcheckDotscheckElementcheckExistingcheckTypecheckXMListcleanupcoerceDDIcollectMetadatacollectRMetadataconvertexportCodebookexportDDIextractDataformatExamplegenerateIDgetChildrengetCodebookgetDateTimegetDelimitergetDNSgetEntergetEnvgetFilesgetFormatgetHashesgetMetadatagetMetadataHashesgetValuesgetXMLgetXMLMetadataInfoglobalAttributeshasAttributeshasChildrenhashVariableMetadatahasLabelshasMissingLabelsimport_excelindexChildrenmakeCategoriesmakeDataNotesmakeElementmakeLabelledmakeNotesmakePathmetadataSweepCapturemetadataSweepClosemetadataSweepImportmetadataSweepInvalidatemetadataSweepReadmissingValuesSPSSmoveChildprespacerecodeCharcatrecodeMissingsremoveAttributesremoveChildrenremoveContentremoveExtrarepeatSpacereplaceCharsreplaceChildreplaceTickssearchForsetupfileshowAttributesshowDescriptionshowDetailsshowExamplesshowLineagesshowRelationssplitrowstestValidtreatPathupdateCodebookwriteMetadatawriteRlistXMLtoRmetadata

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
Reusable metadata sweep sessionsmetadataSweepCapture metadataSweepClose metadataSweepInvalidate metadataSweepRead
Import data with a prepared metadata sweep sessionmetadataSweepImport
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