Liking cljdoc? Tell your friends :D

table2qb.core


add-code-hierarchy-fieldsclj

(add-code-hierarchy-fields {:keys [parent_notation] :as row})

annotate-codeclj


annotate-componentclj

(annotate-component {:keys [label component_type] :as row})

Derives extra column data for a component row

Derives extra column data for a component row
raw docstring

codelist->csvwclj

(codelist->csvw codelist-csv dest-file)

Annotates an input codelist CSV file and writes it to the specified destination file.

Annotates an input codelist CSV file and writes it to the specified destination file.
raw docstring

codelist->csvw->rdfclj

(codelist->csvw->rdf codelist-csv
                     domain-def
                     codelist-name
                     codelist-slug
                     intermediate-file)

Annotates an input codelist CSV file and uses it to generate RDF for the given codelist name and slug.

Annotates an input codelist CSV file and uses it to generate RDF for the given codelist name and slug.
raw docstring

codelist-metadataclj

(codelist-metadata csv-url domain-def codelist-name codelist-slug)

codelist-pipelineclj

(codelist-pipeline codelist-csv codelist-name codelist-slug base-uri)

Generates RDF for the given codelist CSV file

Generates RDF for the given codelist CSV file
raw docstring

codesclj

(codes reader)

component->columnclj

(component->column {:keys [name property_template value_template datatype]})

component-specification-metadataclj

(component-specification-metadata csv-url domain-data dataset-name dataset-slug)

component-specification-templateclj

(component-specification-template domain-data dataset-slug)

component-specificationsclj

(component-specifications reader column-config)

Takes an filename for csv of observations and returns a sequence of components

Takes an filename for csv of observations and returns a sequence of components
raw docstring

componentsclj

(components reader)

components->csvwclj

(components->csvw components-csv dest-file)

Annotates an input component CSV file and writes the result to the specified destination file.

Annotates an input component CSV file and writes the result to the specified destination file.
raw docstring

components->csvw->rdfclj

(components->csvw->rdf components-csv domain-def intermediate-file)

Annotates an input components CSV file and uses it to generate RDF.

Annotates an input components CSV file and uses it to generate RDF.
raw docstring

components-metadataclj

(components-metadata csv-url domain-def)

components-pipelineclj

(components-pipeline input-csv base-uri)

Generates RDF for the given components CSV file.

Generates RDF for the given components CSV file.
raw docstring

create-metadata-sourceclj

(create-metadata-source csv-file-str metadata-json)

csv-file->metadata-uriclj

(csv-file->metadata-uri csv-file)

csv2rdf-configclj


cube->csvwclj

(cube->csvw input-csv
            component-specifications-csv
            observations-csv
            column-config)

cube->csvw->rdfclj

(cube->csvw->rdf input-csv
                 dataset-name
                 dataset-slug
                 component-specifications-csv
                 observations-csv
                 column-config
                 base-uri)

cube-pipelineclj

(cube-pipeline input-csv dataset-name dataset-slug column-config base-uri)

Generates cube RDF for the given input CSV with dataset name and slug.

Generates cube RDF for the given input CSV with dataset name and slug.
raw docstring

data-structure-definition-metadataclj

(data-structure-definition-metadata csv-url
                                    domain-data
                                    dataset-name
                                    dataset-slug)

(dataset-link-column domain-data dataset-slug)

dataset-metadataclj

(dataset-metadata csv-url domain-data dataset-name dataset-slug)

get-header-keysclj

(get-header-keys header-row column-config)

identify-header-transformersclj

(identify-header-transformers header-row column-config)

Identifies the columns in the CSV header which have associated transformer functions specified in the column configuration. Returns a map {header-key transformer-fn} for headers with transformers.

Identifies the columns in the CSV header which have associated transformer functions specified in the
column configuration. Returns a map {header-key transformer-fn} for headers with transformers.
raw docstring

observation-rowsclj

(observation-rows header-row data-rows column-config)

observation-templateclj

(observation-template dataset-slug
                      component-names
                      domain-data-prefix
                      is-value-component-p)

Builds an observation URI template from a domain data prefix, dataset slug, sequence of observation component names and a predicate for identifying value components.

Builds an observation URI template from a domain data prefix, dataset slug, sequence of observation component
names and a predicate for identifying value components.
raw docstring

observation-type-columnclj


observationsclj

(observations reader column-config)

observations-metadataclj

(observations-metadata reader csv-url domain-data dataset-slug column-config)

read-jsonclj


replace-symbolsclj

(replace-symbols s)

resolve-transformerclj


suppress-value-columnclj

(suppress-value-column column is-value-p)

Suppresses the output of a metadata column definition if it corresponds to a value component

Suppresses the output of a metadata column definition if it corresponds to a value component
raw docstring

tempfileclj

(tempfile filename extension)

transform-columnsclj

(transform-columns row transformations)

Applies the specified column transforms to a row

Applies the specified column transforms to a row
raw docstring

used-codes-codelists-metadataclj

(used-codes-codelists-metadata csv-url domain-data dataset-slug)

used-codes-codes-metadataclj

(used-codes-codes-metadata reader
                           csv-url
                           domain-data
                           dataset-slug
                           column-config)

validate-columnsclj

(validate-columns row column-config)

validate-dimensionsclj

(validate-dimensions row dimensions)

Ensures that dimension columns have no missing values

Ensures that dimension columns have no missing values
raw docstring

write-jsonclj

(write-json writer data)

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

× close