Name: french-election-2017-results
Owner: FT Interactive News
Description: Results data and tooling for the 2017 French Presidential election
Created: 2017-04-19 13:27:36.0
Updated: 2017-07-14 12:00:13.0
Pushed: 2017-05-11 11:00:29.0
Homepage: null
Size: 13369
Language: TypeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The codes used by Ministère Interieur are different from INSEE!
npm run create-code-jsons
This assumes data/ contains a file called latest-qgis.csv, which is made by exporting to CSV the communes shapefile from https://www.data.gouv.fr/fr/datasets/decoupage-administratif-communal-francais-issu-d-openstreetmap/
You also need listeregdptcom.xml in data/.
npm run create-translation-table
This will create code-translation-table.csv and government-to-insee.json
--mirror --no-parent http://elections.interieur.gouv.fr/telechargements/PR2017/
Run npm start
to generate output JSON blob
Run npm run create-winners-csv
to generate winners output CSV