Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Feature: store entity metadata #6

Open
larsyencken opened this issue Sep 24, 2021 · 2 comments
Open

Feature: store entity metadata #6

larsyencken opened this issue Sep 24, 2021 · 2 comments

Comments

@larsyencken
Copy link
Contributor

Currently we store variable level metadata in the Table object, but not entity level metadata. We should decide whether we want to store it globally in a single file for the whole dataset, or whether we want to do it per table.

@larsyencken
Copy link
Contributor Author

@danyx23 Flagging this as a problem for us to solve next week.

@larsyencken larsyencken changed the title Feature: make a home for entity metadata within a dataset Feature: store entity metadata Sep 27, 2021
@larsyencken
Copy link
Contributor Author

Thinking about this more, I think we should just store entity metadata in VariableMeta, and just adapt it so that it has the fields we want/need for categorical data too.

One problem with this approach is that whilst we can say:

table.gdp.title = 'GDP in 2011 international $'

We don't have an obvious way of doing that for fields in the index, i.e. we can't write:

table.index.agegroup.description = 'Something...'.

So there's a tiny usability problem in the Python API to solve.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant