Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Metadata-table #50

Open
sabinem opened this issue Aug 8, 2023 · 4 comments
Open

Metadata-table #50

sabinem opened this issue Aug 8, 2023 · 4 comments
Labels
general_approach Further information is requested

Comments

@sabinem
Copy link
Collaborator

sabinem commented Aug 8, 2023

Decide on the structure of the metadata table

Proposal
Screenshot 2023-08-08 at 14 18 46

The structure needs to be stable. So we need to decide about this table:

Metadata Table Structure

table name:

  • table name metadata_table

table columns

  • item: the name of the field or table
  • type: either field or table
  • table: the table name that this entry relates to
  • language: the language of the table that the entry relates to
  • description: description of the item

Questions:

  • one or two tables (there could be one for tables and one for table columns
  • should item better be item_title?
@sabinem sabinem added the general_approach Further information is requested label Aug 8, 2023
@sabinem
Copy link
Collaborator Author

sabinem commented Aug 8, 2023

Answers:

  • yes 2 tables: metadata_tables, metadata_table_columns

  • not type, but for columns we need data_type

  • instead of ìtem: name`

  • table -> table_name

  • categorical values: put a list in the description (enumarates)examples in the decription

  • data_type: categorical , numeric, text

  • language at metadata_tables only.

@sabinem
Copy link
Collaborator Author

sabinem commented Aug 9, 2023

Adapted after discussion:

Screenshot 2023-08-09 at 15 51 43

@nooralahzadeh
Copy link

nooralahzadeh commented Aug 21, 2023

Is it possible to have the table description in En and Fr?

@sabinem
Copy link
Collaborator Author

sabinem commented Aug 21, 2023

We should discuss this tomorrow.
The table structure now is:
Screenshot 2023-08-21 at 19 49 12
Screenshot 2023-08-21 at 19 49 03

In regards to the metadata for the table I would suggest to add a field data_source for the url to the data source.

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

No branches or pull requests

2 participants