Closed katie-lamb closed 2 years ago
Integrating units might be hard with nothing but the column names to indicate the units. We could also add another attribute to the Field
data model that describes the units of the field if it's applicable. It would be great if that information could be integrated into the DB schema itself somehow too. But even just getting the metadata we've already got compiled exported and integrated with Datasette will be a big improvement!
We can generate table and column level annotations for the DB, which makes Datasette more useful and interesting.
Check out
metadata.yml
in devtools/datasette and Datasette documentation on doing this hereWe are at the point when we can add column and table level metadata for the whole DB. See this issue as well.
To Do's:
to_yaml
methodmetadata.yml.jinja
template that generatesmetadata.yml
to_yaml
frompublish.sh
and runpublish.sh
Features to add with metadata
title
-->about
path
-->about_url
license['title']
-->license
license['path']
-->license_url
description
description
-->description