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

🔨 refactor legacyToOwidTableAndDimensions #4355

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danyx23
Copy link
Contributor

@danyx23 danyx23 commented Dec 23, 2024

This PR refactors legacyToOwidTableAndDimensions. The old code used the full config to assemble the input table but for extracting the loading code it's much nicer if only the dimensions influence the input table.

This meant geting rid of chart type specific code (luckily that was superfluous because it was only relevant when targetTime is set and that only happens for scatter and marimekko charts anyhow); and extracting the code that fills in the selected entity colors from the config into the table.

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

Successfully merging this pull request may close these issues.

1 participant