Communes enriched with political nuance (France)

Open data API in a single place

Provided by Datactivist

Get early access to Communes enriched with political nuance (France) API!

Let us know and we will figure it out for you.

Dataset information

Country of origin
Updated
2026.01.13 14:37
Created
2024.11.08
Available languages
English
Keywords
politique, communes, commande-publique
Quality scoring

Dataset description

**→ Motivations for creating the dataset** Cross-referencing data with political nuance may be interesting in many areas of analysis. However, there is no dataset today that lists the political nuance of municipalities, when it is available. This published dataset therefore corresponds to the political nuance recovered from the results of the municipal elections in rounds 1 and 2, available on [OpenDataSoft](https://public.opendatasoft.com/explore/?sort=modified&q=Elections+municipales+2020), applied to the municipality (one nuance per municipality). **→ Composition of the dataset** The database consists of the following fields: - **municipal_name**: name of the municipality - **cog_commune**: Official Geographic Code (COG) of the municipality (also known as the INSEE code) - **siren_commune**: SIREN number of the municipality - **political_nuance**: Acronym for political nuance - **nuance_family**: political nuance family, created from the [circular on the attribution of political nuances to candidates in the municipal and community elections of 15 and 22 March 2020] (https://www.legifrance.gouv.fr/download/pdf/circ?id=44929) The data is available in CSV format encoded in UTF-8, with a comma separator. **→ Data collection and processing process** The data for the political nuance come from the results of the municipal elections, [turn 1](https://public.opendatasoft.com/explore/dataset/election-france-municipale-2020-premier-tour/export/?disjunctive.dep_name&disjunctive.com_name&q=surname%3D%3D%22BOULON) and [turn 2](https://public.opendatasoft.com/explore/dataset/election-france-municipale-2020-deuxieme-tour/information/?disjunctive.dep_name&disjunctive.com_name&disjunctive.name_surname&disjunctive.reg_name&q=surname%3D%3D%22BOULON%22). They were processed with the following steps before joining them to the NER data (in order to obtain a grade per municipality): - gathering of the 2 games in 1 - creation of a column gathering the COG of the municipality with the names and surnames of the candidates in the format 'NAME First name' In order to be able to assign a political nuance to each of the municipalities, we have made a joint from the RNE: the data are extracted from the file "elus-conseillers-municipaux-cm.csv_", available on [datagouv](https://www.data.gouv.fr/en/datasets/repertoire-national-des-elus-1/). These data were processed with the following steps before enriching them with the political nuance: - filter of the wording of the elected official's position on mayors only - creation of a column gathering the COG of the municipality with the name and surname of the mayor in the format 'NAME First name', which will be used to join (to avoid recovering several political parties when several elected officials have the same name and surname) - deletion of FADs The 2 datasets could thus be joined by the COG column and surname / first name, allowing to retrieve the code of the political nuance from the results of the municipal elections of 2020. The nuance family was also created from the [circular Légifrance](https://www.legifrance.gouv.fr/download/pdf/circ?id=44929), when mayors have 2 political colors and they are not part of the same family, only the first one was considered to assign the political color, for the sake of simplifying the output data. Finally, the SIREN number of the municipality has been added from the dataset "_Identifiers of local and regional authorities and their establishments_" available on [datagouv](https://www.data.gouv.fr/en/datasets/identifiers-des-collectivites-territoriales-and-their-establishments/), to allow the enrichment of this dataset published with different external sources. **→ Dissemination of the dataset** The dataset is published on the data.gouv.fr portal with the Datactivist account under Open License as the files used for its creation. **→ Dataset maintenance** Ideally, the update should be done at each municipal election. Datactivist does not undertake to carry out this update, but makes available scripts to generate new versions. If you have any questions or problems, please contact diane@datactivist.coop or post a comment below. **→ Legal and ethical considerations** In accordance with the GDPR, all personal data has been deleted.
European data infrastructure with broad catalog discovery, free evaluation access and production-grade API options.
190K+
indexed dataset pages
32
countries and EU institutions
2019
API-first since
Free API quota
for evaluation and prototypes
SLA
history and push on production APIs
FAQ

Questions before production use

Practical answers on evaluation, licensing, freshness, versioning and support.

api.store is built and operated by Apitalks s.r.o. Company details and a direct contact path are linked in the footer for vendor checks and procurement review.
Yes. Selected APIs include a free API quota, so your team can validate coverage, freshness, response shape and workflow fit before asking for a production plan.
Often yes, but usage rights depend on the source license and dataset. We surface source, license and update metadata where available, and can help review terms before a production integration.
Maintained APIs include update metadata where available. For production integrations, we can add history, monitoring and push updates so changes are easier to detect and act on.
Production APIs can add SLA, stable identifiers, versioning support, history, push updates and direct support around the data your product or AI workflow depends on.

Didn't find the API you need?

Let us know and we will figure it out for you.

European data discovery with free evaluation access and production-grade API options.

Copyright © 2026. Made by Apitalks