(add-code-hierarchy-fields {:keys [parent_notation] :as row})
(annotate-component {:keys [label component_type] :as row})
Derives extra column data for a component row
Derives extra column data for a component row
(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.
(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.
(codelist-metadata csv-url domain-def codelist-name codelist-slug)
(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
(codes reader)
(component->column {:keys [name property_template value_template datatype]})
(component-specification-metadata csv-url domain-data dataset-name dataset-slug)
(component-specification-template domain-data dataset-slug)
(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
(components reader)
(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.
(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.
(components-metadata csv-url domain-def)
(components-pipeline input-csv base-uri)
Generates RDF for the given components CSV file.
Generates RDF for the given components CSV file.
(create-metadata-source csv-file-str metadata-json)
(csv-file->metadata-uri csv-file)
(cube->csvw input-csv
component-specifications-csv
observations-csv
column-config)
(cube->csvw->rdf input-csv
dataset-name
dataset-slug
component-specifications-csv
observations-csv
column-config
base-uri)
(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.
(data-structure-definition-metadata csv-url
domain-data
dataset-name
dataset-slug)
(dataset-link-column domain-data dataset-slug)
(dataset-metadata csv-url domain-data dataset-name dataset-slug)
(get-header-keys header-row column-config)
(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.
(observation-rows header-row data-rows column-config)
(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.
(observations reader column-config)
(observations-metadata reader csv-url domain-data dataset-slug column-config)
(replace-symbols s)
(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
(tempfile filename extension)
(transform-columns row transformations)
Applies the specified column transforms to a row
Applies the specified column transforms to a row
(used-codes-codelists-metadata csv-url domain-data dataset-slug)
(used-codes-codes-metadata reader
csv-url
domain-data
dataset-slug
column-config)
(validate-columns row column-config)
(validate-dimensions row dimensions)
Ensures that dimension columns have no missing values
Ensures that dimension columns have no missing values
(write-json writer data)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close