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

Update script to generate locaux stats by commune from MAJIC data #466

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

Conversation

ThomasG77
Copy link

@ThomasG77 ThomasG77 commented Aug 28, 2024

We remove automatic push to data gouv as it's an yearly update and automatic management may erase previous year data.
It's needed to push data manually but it takes less than 5 min yearly but it's safer.
We added MAJIC_YEAR to set the name of output files (export the environment variable or set it in .env file with 2024 or another year).
For previous years, if you use the script, before running it, you need to change temporarily the dependency in root package.json @etalab/decoupage-administratif version e.g https://github.com/datagouv/decoupage-administratif?tab=readme-ov-file#mill%C3%A9simes-et-versions-de-package otherwise your stats will not match the official COG list at this time.

We remove automatic push to data gouv as it's an yearly update and automatic management may erase previous year data.
It's needed to push data manually but it takes less than 5 min yearly but it's safer.
We added MAJIC_YEAR to set the name of output files (export the environnement variable or set it in .env file with 2024 or another year).
For previous years, if you use the script, before running it, you need to change temporarily the dependency in root package.json @etalab/decoupage-administratif version e.g https://github.com/datagouv/decoupage-administratif?tab=readme-ov-file#mill%C3%A9simes-et-versions-de-package otherwise your stats will not match the official COG list at this time.
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