validate_codebook | R Documentation |
Validates your constructed codebook against the
DDI Codebook 2.5 schema. While all built-in ddi_
functions
are written with the schema in mind, this is useful
if you create your own DDI nodes (there are many and
it will take a while to implement all of them).
validate_codebook(codebook)
codebook |
The codebook root node, output of |
A logical (with attributes containing any errors) that indicates passing or failing.
cb <- ddi_codeBook(ddi_stdyDscr(ddi_citation(ddi_titlStmt(ddi_titl("Sample"))))) validate_codebook(cb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.