(cdm)(cdm v)Returns information from the registry about a specific CDM version, or the default if omitted. For example,
(cdm "5.4")
=> {:id "5.4" :fields "OMOP_CDMv5.4_Field_Level.csv" :tables "OMOP_CDMv5.4_Table_Level.csv"}
Returns information from the registry about a specific CDM version, or the
default if omitted. For example,
```
(cdm "5.4")
```
=>
{:id "5.4"
:fields "OMOP_CDMv5.4_Field_Level.csv"
:tables "OMOP_CDMv5.4_Table_Level.csv"}(column-title->kw s)Convert column title to a keyword. Almost all columns are camelCase, but they've added a column 'unique DQ identifiers' which we convert.
Convert column title to a keyword. Almost all columns are camelCase, but they've added a column 'unique DQ identifiers' which we convert.
Registry of supported versions.
Registry of supported versions.
(with-model-structures {:keys [cdmModel] :as config})Updates the configuration with OMOP model structures using key :cdmModel. For convenience, returns its argument if cdmModel already defined. The model specification is a map of CDM table name to the table definition. Each definition is a close representation of the source Table_Level.csv but with an additional key ':cdmFields' with data from Field_Level.csv for that table. Some source data are parsed such as 'NA' to 'null', and 'Yes' and 'No' to boolean.
Updates the configuration with OMOP model structures using key :cdmModel. For convenience, returns its argument if cdmModel already defined. The model specification is a map of CDM table name to the table definition. Each definition is a close representation of the source Table_Level.csv but with an additional key ':cdmFields' with data from Field_Level.csv for that table. Some source data are parsed such as 'NA' to 'null', and 'Yes' and 'No' to boolean.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |