Skip to content

togostanza/togostanza-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

togostanza-data

Tree data

sample JSON file

sample TSV file

details:

  • Unique ID for each item
  • If the item has children, the children are set as a list of IDs
  • If the item is a child itself, the parent is set by its unique ID

example:

[
  {
    "id": 1,
    "label": "Transcript variant",
    "children": [2, 19, 25, 29, 30]
  },
  {
    "id": 2,
    "label": "Coding variant",
    "children": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18],
    "parent": 1
  }
]

Named Map Data

sample JSON file

sample TSV file

details:

example:

[
  {
    "id": "528",
    "rate": "0.9"
  },
  {
    "id": "8",
    "rate": "0.2"
  }
]

Set Data

sample JSON file

details:

  • "set" is an array of IDs that a set contains
  • "size" is the amount of that set

example:

[
  {
    "set": ["A"],
    "size": 12
  },
  {
    "set": ["B"],
    "size": 12
  },
  {
    "set": ["A", "B"],
    "size": 2
  }
]

Directed Graph Data

sample JSON file

details:

  • "source" is the starting point of the directed graph
  • "target" is the endpoint of the directed graph
  • "value" is the value of edge

example:

[
  {
    "source": "France",
    "target": "Britain",
    "value": 22.4
  },
  {
    "source": "Greece",
    "target": "Britain",
    "value": 0.55
  },
  ...
]

About

Standard example data for MetaStanza and OpenStanza

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published