Swirrl / table2qb

A generic pipeline for converting tabular data into rdf data cubes
Eclipse Public License 1.0
13 stars 4 forks source link

Don't create pmd:codesUsed collections for measure types. #94

Open lkitching opened 5 years ago

lkitching commented 5 years ago

Issue #88 - Only create codesUsed collections for dimension and attribute columns.

Add codes_used column to intermediate component specifications file. Update related metadata to include this new column. The column has a value (of "yes") to indicate if the component should have an associated pmd:codesUsed property relating it to a code list.

Update the corresponding CSVW metadata to only output codesUsed codelists connected to the corresponding components for dimension and attribute columns.

Robsteranium commented 5 years ago

Thanks Lee.

It's a pity csvw doesn't have a more convenient mechanism to express conditional processing. Having a flag column feels a bit unsatisfactory - especially since the "yes" is irrelevant, I guess any non-empty value would suffice, even a "no"! Perhaps putting in the codes-used collection URI (or the template) would be more meaningful?