Package: DDIwR 0.18.4

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.18.4.tar.gz
DDIwR_0.18.4.zip(r-4.5)DDIwR_0.18.4.zip(r-4.4)DDIwR_0.18.4.zip(r-4.3)
DDIwR_0.18.4.tgz(r-4.4-any)DDIwR_0.18.4.tgz(r-4.3-any)
DDIwR_0.18.4.tar.gz(r-4.5-noble)DDIwR_0.18.4.tar.gz(r-4.4-noble)
DDIwR_0.18.4.tgz(r-4.4-emscripten)DDIwR_0.18.4.tgz(r-4.3-emscripten)
DDIwR.pdf |DDIwR.html
DDIwR/json (API)

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

Peer review:

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

On CRAN:

72 exports 15 stars 2.55 score 36 dependencies 8 scripts 471 downloads

Last updated 18 hours agofrom:986050858a. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 07 2024
R-4.5-winERRORSep 07 2024
R-4.5-linuxERRORSep 07 2024
R-4.4-winERRORSep 07 2024
R-4.4-macERRORSep 07 2024
R-4.3-winERRORSep 07 2024
R-4.3-macERRORSep 07 2024

Exports:addAttributesaddChildrenaddContentanyAttributesanyChildrenasciichangeAttributeschangeContentchangeXMLangcheckArgumentcheckDotscheckElementcheckExistingcheckTypecheckXMListcleanupcoerceDDIcollectMetadatacollectRMetadataconvertexportDDIextractDataformatExamplegenerateIDgetChildrengetDateTimegetDelimitergetDNSgetEntergetFilesgetFormatgetHashesgetMetadatagetValuesgetXMLglobalAttributeshasAttributeshasChildrenhasLabelshasMissingLabelsindexChildrenmakeCategoriesmakeDataNotesmakeElementmakeLabelledmakeNotesmissingValuesSPSSprespacerecodeCharcatrecodeMissingsremoveAttributesremoveChildrenremoveContentremoveExtrarepeatSpacereplaceCharsreplaceTickssearchForsetupfileshowAttributesshowDescriptionshowDetailsshowExamplesshowLineagesshowRelationssplitrowstestValidtreatPathupdateCodebookwriteMetadatawriteRlistXMLtoRmetadata

Dependencies:admiscbase64encbitbit64cellrangerclicliprcpp11crayondeclareddigestfansiforcatsgluehavenhmslifecyclemagrittrpillarpkgconfigprettyunitsprogressR6readrreadxlrematchrlangtibbletidyselecttzdbutf8vctrsvroomwithrwritexlxml2

Readme and manuals

Help Manual

Help pageTopics
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 removeAttributes removeChildren removeContent
Export a DDI Codebook to an XML file.exportDDI
Extract metadata informationgetMetadata
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