Skip to content

Commit

Permalink
replaces concatenated_metadata.tsv with frictionless resource
Browse files Browse the repository at this point in the history
  • Loading branch information
johentsch committed Sep 8, 2023
1 parent 0ce34a4 commit a2afd8b
Show file tree
Hide file tree
Showing 2 changed files with 907 additions and 548 deletions.
349 changes: 349 additions & 0 deletions dcml_corpora.metadata.resource.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,349 @@
{
"name": "dcml_corpora.metadata",
"type": "table",
"path": "dcml_corpora.metadata.tsv",
"scheme": "file",
"format": "tsv",
"mediatype": "text/tsv",
"encoding": "utf-8",
"dialect": {
"csv": {
"delimiter": "\t"
}
},
"schema": {
"fields": [
{
"name": "corpus",
"title": "Corpus",
"description": "Name of a group of pieces",
"type": "string"
},
{
"name": "piece",
"title": "Piece identifier",
"description": "Name identifier (filename without suffixes) of a piece",
"type": "string"
},
{
"name": "TimeSig",
"type": "string"
},
{
"name": "KeySig",
"type": "string"
},
{
"name": "last_mc",
"type": "string"
},
{
"name": "last_mn",
"type": "string"
},
{
"name": "length_qb",
"type": "string"
},
{
"name": "last_mc_unfolded",
"type": "string"
},
{
"name": "last_mn_unfolded",
"type": "string"
},
{
"name": "length_qb_unfolded",
"type": "string"
},
{
"name": "volta_mcs",
"title": "Volta Measure Counts",
"description": "For each group of alternative endings, a nested list where each inner list contains the \"mc\" values of the <Measure> tags grouped into one ending.",
"type": "array"
},
{
"name": "all_notes_qb",
"type": "string"
},
{
"name": "n_onsets",
"type": "string"
},
{
"name": "n_onset_positions",
"type": "string"
},
{
"name": "guitar_chord_count",
"type": "string"
},
{
"name": "form_label_count",
"type": "string"
},
{
"name": "label_count",
"type": "string"
},
{
"name": "annotated_key",
"type": "string"
},
{
"name": "harmony_version",
"type": "string"
},
{
"name": "annotators",
"type": "string"
},
{
"name": "reviewers",
"type": "string"
},
{
"name": "composed_start",
"title": "Earliest Composition Year",
"description": "Earliest possible year of composition.",
"type": "string",
"constraints": {
"pattern": "^\\d{3,4}|\\.{2}$"
}
},
{
"name": "composed_end",
"title": "Latest Composition Year",
"description": "Latest possible year of composition.",
"type": "string",
"constraints": {
"pattern": "^\\d{3,4}|\\.{2}$"
}
},
{
"name": "composer",
"type": "string"
},
{
"name": "workTitle",
"type": "string"
},
{
"name": "movementNumber",
"title": "Movement Number",
"description": "Metadata field for the number of a movement. Should be specified as integer, not as a Roman number.",
"type": "integer",
"bareNumber": false
},
{
"name": "movementTitle",
"type": "string"
},
{
"name": "workNumber",
"type": "string"
},
{
"name": "poet",
"type": "string"
},
{
"name": "lyricist",
"type": "string"
},
{
"name": "arranger",
"type": "string"
},
{
"name": "copyright",
"type": "string"
},
{
"name": "creationDate",
"type": "string"
},
{
"name": "mscVersion",
"type": "string"
},
{
"name": "platform",
"type": "string"
},
{
"name": "source",
"type": "string"
},
{
"name": "translator",
"type": "string"
},
{
"name": "title_text",
"type": "string"
},
{
"name": "lyricist_text",
"type": "string"
},
{
"name": "composer_text",
"type": "string"
},
{
"name": "musescore",
"type": "string"
},
{
"name": "ms3_version",
"type": "string"
},
{
"name": "subdirectory",
"type": "string"
},
{
"name": "rel_path",
"type": "string"
},
{
"name": "has_drumset",
"type": "string"
},
{
"name": "ambitus",
"type": "string"
},
{
"name": "comments",
"type": "string"
},
{
"name": "originalFormat",
"type": "string"
},
{
"name": "staff_1_ambitus",
"type": "string"
},
{
"name": "staff_1_instrument",
"type": "string"
},
{
"name": "staff_2_ambitus",
"type": "string"
},
{
"name": "staff_2_instrument",
"type": "string"
},
{
"name": "staff_3_ambitus",
"type": "string"
},
{
"name": "staff_3_instrument",
"type": "string"
},
{
"name": "staff_4_ambitus",
"type": "string"
},
{
"name": "staff_4_instrument",
"type": "string"
},
{
"name": "composed_source",
"type": "string"
},
{
"name": "subtitle_text",
"type": "string"
},
{
"name": "imslp",
"type": "string"
},
{
"name": "musicbrainz",
"type": "string"
},
{
"name": "viaf",
"type": "string"
},
{
"name": "wikidata",
"type": "string"
},
{
"name": "score_integrity",
"type": "string"
},
{
"name": "imslp.1",
"type": "string"
},
{
"name": "key",
"type": "string"
},
{
"name": "mode",
"type": "string"
},
{
"name": "typesetter",
"type": "string"
},
{
"name": "electronic editor",
"type": "string"
},
{
"name": "electronic encoder",
"type": "string"
},
{
"name": "text",
"type": "string"
},
{
"name": "pdf",
"type": "string"
},
{
"name": "score integrity",
"type": "string"
},
{
"name": "PDF",
"type": "string"
}
],
"primaryKey": [
"corpus",
"piece"
],
"facet": "metadata",
"identifier": "xyCES7yFOZ402A",
"filepath": "metadata/xyCES7yFOZ402A.schema.yaml",
"used_in": "dcml_corpora"
},
"creator": {
"@context": "https://schema.org/",
"@type": "SoftwareApplication",
"@id": "https://github.com/johentsch/ms3",
"name": "ms3",
"description": "A parser for MuseScore 3 files and data factory for annotated music corpora.",
"author": {
"name": "Johannes Hentschel",
"@id": "https://orcid.org/0000-0002-1986-9545"
},
"softwareVersion": "2.2.1"
}
}
Loading

0 comments on commit a2afd8b

Please sign in to comment.