Open jh-RLI opened 3 years ago
This means metadata will not be stored as a comment anymore but will be moved to a central "metadata table". This will be a major rebuilt of the metadata structure and will cause many changes in different modules!?
This could be the case. But it is also possible to keep the metadata as comment on table and update it when changes occur. The table with the metadata serves here only as a central resource in which changes are detected and then distributed (as comment on table).
Is this issue still open? Reading through this I started wondering about something that might only partially be related. Concerning the simultaneous update to several tables, I think one main hindrance is that we don't allow for partial updates. If there was such a functionality it would be easy to implement an online option for this as well. Right now, one always needs to account for resource definition, which I believe tends to mess up the workflow. The easiest solutions I can think of are:
Metadata are a comment on a table, so updating partially could work along the following steps:
The function(s) could be part of OMI or the API (maybe both?), not sure which would be best, but I would somehow hope that this won't result in yet another tool :)
In the course of the development of the oedatamodel and also e.g. in the current review of the oemof_b3 dataset it becomes apparent that there is no good solution on how to append the same metadata to several related tables (as far as i know). This results, among other things, in the problem that, for example, C(R)UD methods are difficult to use from the user's point of view. In this case, each table must be handled individually in order to distribute a change. To illustrate: A user wants to upload a dataset that is spread over several tables (e.g. 15). After uploading, metadata is appended to the tables. Now a new source is to be documented in the metadata. The user knows the OEP and uses the web interface to edit the metadata. Unfortunately he has to update the metadata for each of the tables individually :(
From a developer's point of view, this may not be a problem, as it is always easy to replace the metadata "quick and dirty" on all tables concerned. However, my main concern here is usability.
I have created an overview image for the use case (a possible solution IMO). I think more work will be needed to implement and display data models that include multiple tables on the OEP website.