Package: DDIwR 0.18.9

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.9.tar.gz
DDIwR_0.18.9.zip(r-4.5)DDIwR_0.18.9.zip(r-4.4)DDIwR_0.18.9.zip(r-4.3)
DDIwR_0.18.9.tgz(r-4.4-any)DDIwR_0.18.9.tgz(r-4.3-any)
DDIwR_0.18.9.tar.gz(r-4.5-noble)DDIwR_0.18.9.tar.gz(r-4.4-noble)
DDIwR_0.18.9.tgz(r-4.4-emscripten)DDIwR_0.18.9.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:

5.08 score 15 stars 10 scripts 453 downloads 74 exports 36 dependencies

Last updated 17 days agofrom:553014eb24. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 06 2024
R-4.5-winNOTEDec 06 2024
R-4.5-linuxNOTEDec 06 2024
R-4.4-winNOTEDec 06 2024
R-4.4-macNOTEDec 06 2024
R-4.3-winNOTEDec 06 2024
R-4.3-macNOTEDec 06 2024

Exports:addAttributesaddChildrenaddContentanyAttributesanyChildrenasciichangeAttributeschangeContentchangeXMLangcheckArgumentcheckDotscheckElementcheckExistingcheckTypecheckXMListcleanupcoerceDDIcollectMetadatacollectRMetadataconvertexportCodebookexportDDIextractDataformatExamplegenerateIDgetChildrengetCodebookgetDateTimegetDelimitergetDNSgetEntergetFilesgetFormatgetHashesgetMetadatagetValuesgetXMLglobalAttributeshasAttributeshasChildrenhasLabelshasMissingLabelsindexChildrenmakeCategoriesmakeDataNotesmakeElementmakeLabelledmakeNotesmissingValuesSPSSprespacerecodeCharcatrecodeMissingsremoveAttributesremoveChildrenremoveContentremoveExtrarepeatSpacereplaceCharsreplaceTickssearchForsetupfileshowAttributesshowDescriptionshowDetailsshowExamplesshowLineagesshowRelationssplitrowstestValidtreatPathupdateCodebookwriteMetadatawriteRlistXMLtoRmetadata

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