-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Suggestion: rather than using a custom format to store metadata about fields and their data types, it might be worth looking into the Frictionless Table Schema. It is a specification to store information about tabular data as a json (or potentially yaml) file. The elements that are similar could be borrowed and it can be extended with the properties that are specifically needed for git2rdata.
Here's an snippet from an example (taken from https://github.com/inbo/datapackage/blob/b049504a1396bfddf7af7e595f5b856da02375d0/inst/extdata/datapackage.json#L133-L154)
{
"name": "count",
"type": "integer",
"constraints": {
"required": false,
"minimum": 1
}
},
{
"name": "age",
"type": "string",
"constraints": {
"required": false,
"enum": [
"adult",
"subadult",
"juvenile",
"offspring",
"undefined"
]
}
Metadata
Metadata
Assignees
Labels
No labels