Liking cljdoc? Tell your friends :D

lens-odm-parser.core

The two main functions are parse-elem and unparse-file.

Example: (-> (io/input-stream "odm-file.xml") (xml/parse) (parse-elem))

The two main functions are parse-elem and unparse-file.

Example: `(-> (io/input-stream "odm-file.xml")
          (xml/parse)
          (parse-elem))`
raw docstring

assoc-measurement-unit-oidclj

(assoc-measurement-unit-oid attrs {:keys [odm.item-data/measurement-unit-oid]})
source

boolean-valueclj

(boolean-value e)
source

conformercljmacro

(conformer f unf & {:keys [gen]})

Like s/conformer but takes an optional gen.

Can be removed when CLJ-1985 is resolved.

Like s/conformer but takes an optional gen.

Can be removed when CLJ-1985 is resolved.
sourceraw docstring

date-time-valueclj

(date-time-value e)
source

float-valueclj

(float-value e)
source

integer-valueclj

(integer-value e)
source

parse-attrclj

(parse-attr tag key value)
source

parse-attr*cljmultimethod

(parse-attr* tag name value)

Parses XML Attribute. Dispatches on a vector of element tag and attribute name with a fallback on attribute name only. Should return a map with a single key-value pair which will be merged together with the maps from other parses.

Parses XML Attribute. Dispatches on a vector of element tag and attribute
name with a fallback on attribute name only. Should return a map with a
single key-value pair which will be merged together with the maps from other
parses.
sourceraw docstring

parse-attrsclj

(parse-attrs tag attrs)
source

parse-childrenclj

(parse-children content)

Parses every child using parse-elem and merges the results. Keys occuring more than once will be merged using into.

Parses every child using `parse-elem` and merges the results. Keys occuring
more than once will be merged using `into`.
sourceraw docstring

parse-elemclj

(parse-elem element)
source

parse-elem*cljmultimethod

(parse-elem* element)

Parses a single XML Element. Dispatches by :tag. Should return a map with a single key-value pair which will be merged together with the maps from other parses. Multiple values with the same key are merged with into.

Parses a single XML Element. Dispatches by :tag. Should return a map with a
single key-value pair which will be merged together with the maps from other
parses. Multiple values with the same key are merged with `into`.
sourceraw docstring

string-valueclj

(string-value e)
source

unparse-clinical-dataclj

(unparse-clinical-data {:keys [odm.clinical-data/study-oid
                               odm.clinical-data/metadata-version-oid
                               odm.clinical-data/subject-data]})
source

unparse-fileclj

(unparse-file {:keys [odm.file/clinical-data] :as file})

Takes a parsed ODM file and unparses it into an sexp.

Takes a parsed ODM file and unparses it into an sexp.
sourceraw docstring

unparse-form-dataclj

(unparse-form-data {:keys [odm.form-data/item-group-data] :as form-data})
source

unparse-item-dataclj

(unparse-item-data item-data)
source

unparse-item-data*cljmultimethod

(unparse-item-data* item-data)
source

unparse-item-group-dataclj

(unparse-item-group-data {:keys [odm.item-group-data/item-data]
                          :as item-group-data})
source

unparse-study-event-dataclj

(unparse-study-event-data {:keys [odm.study-event-data/form-data]
                           :as study-event-data})
source

unparse-subject-dataclj

(unparse-subject-data {:keys [odm.subject-data/study-event-data]
                       :as subject-data})
source

xml-date-time-genclj

(xml-date-time-gen)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close