Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDIMs: Metadata for views with multiple indicators #3981

Open
lucasrodes opened this issue Feb 15, 2025 · 1 comment
Open

MDIMs: Metadata for views with multiple indicators #3981

lucasrodes opened this issue Feb 15, 2025 · 1 comment
Labels

Comments

@lucasrodes
Copy link
Member

MDIMs that have a view with multiple indicators, only shows metadata of one indicator around the chart.

See Example

Long-term solution

We need to re-design bits of MDIM pages to allocate for metadata of multiple indicators in the same page.

Short-term solution

Long-term solution might take some time from now, so I suggest we look into 'hacking' the configuration of MDIM view metadata from ETL.

How?

We can override the configuration of an MDIM view using the metadata field:

https://github.com/owid/etl/blob/master/schemas/multidim-schema.json#L336

https://github.com/owid/etl/blob/master/schemas/multidim-schema.json#L343!

Whatever is specified here will take precedence over the metadata of the indicator, fetched via the API.

This is done precisely so that for multi-dimensional indicators you can specify "use exactly these 4 bullet points as description_key".

@lucasrodes lucasrodes added the metadata related to metadata label Feb 15, 2025
@lucasrodes lucasrodes changed the title MDIMs: short-term solution for views with multiple indicators MDIMs: Metadata for views with multiple indicators Feb 15, 2025
@pabloarosado
Copy link
Contributor

Quick comment: Maybe it would be good to review the logic we implemented in owid.catalog on how to combine metadata from different indicators.

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

No branches or pull requests

2 participants