Package: DDIwR 0.18.7

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.7.tar.gz
DDIwR_0.18.7.zip(r-4.5)DDIwR_0.18.7.zip(r-4.4)DDIwR_0.18.7.zip(r-4.3)
DDIwR_0.18.7.tgz(r-4.4-any)DDIwR_0.18.7.tgz(r-4.3-any)
DDIwR_0.18.7.tar.gz(r-4.5-noble)DDIwR_0.18.7.tar.gz(r-4.4-noble)
DDIwR_0.18.7.tgz(r-4.4-emscripten)DDIwR_0.18.7.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.11 score 15 stars 10 scripts 416 downloads 72 exports 36 dependencies

Last updated 2 months agofrom:09d902badf. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winNOTENov 05 2024
R-4.5-linuxNOTENov 05 2024
R-4.4-winNOTENov 05 2024
R-4.4-macNOTENov 05 2024
R-4.3-winNOTENov 05 2024
R-4.3-macNOTENov 05 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