Skip to content

Conversation

@Bachibouzouk
Copy link

@Bachibouzouk Bachibouzouk commented Dec 8, 2025

This enable the download of a datapackage of a scenario.

One can use the URL:
http://127.0.0.1:8000/en/scenario/export/datapackage/

Or click on "Export as datapackage" on the progession ribbon (this is just for convenience, we should have this button somewhere else)

image

TODO:

  • Generate the datapackage.json automatically as well
  • Get the foreign keys of datapackage.json correctly
  • Figure out a parameter matching between open_plan parameters and the placades parameters --> this is done in Add components from openPlan tool placades#5

@Bachibouzouk
Copy link
Author

The idea is to enable download of datapackage and then iterate to make changes to the to_datapackage method

@Bachibouzouk Bachibouzouk force-pushed the feature/download-datapackage branch from 3013618 to d182559 Compare December 11, 2025 16:24
@Bachibouzouk Bachibouzouk force-pushed the feature/download-datapackage branch from 8f898dd to b43ac95 Compare December 15, 2025 13:38
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.

2 participants