https://github.com/gdcc/mdbtool is the place where the magic happens. Moving things from https://github.com/poikilotherm/dataverse/tree/7662-solrconfig into that repo so it is easier to reuse. Also after talking to Jan Range yesterday, in the middle of reshaping this from TSV only into a model based approach, hopefully making it reusable for other source and target formats
Sounds good. In case you haven't seen it, a few hours ago beep posted some stuff about JSON Schema and CEDAR and TSVs, but I'm not sure if it will help your effort or not: https://github.com/IQSS/dataverse/issues/7173#issuecomment-1462301582
Yeah, seen that. It's somewhat related, but not very strongly to mdbtool right now.
mdbtool for instance is at least for the time being not at all related to #7173
Fair enough. Thanks. Go, go go!
Would you say 40 chars for a metadata field title is "relatively brief"? (https://guides.dataverse.org/en/latest/admin/metadatacustomization.html#datasetfield-field-properties)
BTW it's crazy how these metadata fields are only hold together by duct tape in the main Dataverse code. There is at base no validation of a TSV piped into the API.
coverage.Spectral.CentralWavelength is 35
Is that a title? Looks like a name
Oh, you're right, it's a name.
(Violating the spec BTW as it contains a dot. Solr does not prohibit dots but strongly encourages you to not go beyond alphanumeric + underscore)
Topic Classification Controlled Vocabulary Name is 47.
curl -s https://demo.dataverse.org/api/metadatablocks/citation | jq '.data.fields[].displayName' -r
Perfect. I was already starting to grep and cut the TSVs :-D
OK I'll make it 60 then
"Brief"... :melting_face:
Like the Journal of Brief Ideas. :happy:
@Sherry Lake started a thread about hacking on metadata blocks and I just suggested that she could probably do this in Docker.
That's the idea! These containers are perfect for ephemeral throwaways to test these things. Break it, dump it, start over
17 messages were moved here from #containers > mdbtool by Oliver Bertuch.
Is this related? Add use cases to get the tsvs of the Metadata Blocks #63 - https://github.com/IQSS/dataverse-client-javascript/issues/63
Huh, where are the 17 moved message?
@Vera Clemens just posted some code that seems related: https://github.com/IQSS/dataverse/issues/9463#issuecomment-1727612855
Last updated: Oct 30 2025 at 05:14 UTC