Code Monkey home page Code Monkey logo

occitanie-potpourri's Introduction

Occitanie Potpourri

One of my guilty pleasures is to extract, analyze and visualize open data of my region. I will therefore put in this repository all notebooks based on French open data with a focus on the French region Occitanie, the French department Haute-Garonne and the French city Toulouse.


Example 1: plot the number of historical monuments in each town (commune) of Occitanie (choropleth)

occitanie-mh


Example 2: plot Toulouse water system including water fountains

toulouse_water


Example 3: plot districts of Toulouse based on the ratio of graduated residents (BAC+5+)

bac5


Example 4: first round of French Présidentielles 2022 in Toulouse

tlse2022


Running the tests

Run the notebook occitanie_mh to visualize historical monuments in Occitanie Run the notebook toulouse_water_system to visualize Toulouse water system Run the notebook toulouse_bac5 to visualize districts of Toulouse based on the ratio of graduated residents (BAC+5+)

Built With

The following Python libraries are used in these notebooks:

  • pandas - Python Data Analysis Library
  • GeoPandas - GeoPandas is an open source project which extends the datatypes used by pandas to allow spatial operations on geometric types.
  • contextily - Context geo-tiles in Python

Versions

This code was tested with following versions:

  • occitanie_mh: Python 3.9.4, geopandas 0.10.2, contextily 1.1.0
  • toulouse_water_system: Python 3.9.4, pandas 1.3.4, geopandas 0.10.2, contextily 1.1.0, shapely 1.7.1
  • toulouse_bac5: Python 3.9.4, geopandas 0.10.2
  • toulouse_2022_premier_tour : Python 3.9.4, geopandas 0.10.2

Authors

  • Thomas Dubot

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Thanks to Alice de la Taille for her ideas and her challenging feedbacks. Thanks to open data contributors, especially via the French open data portal: https://www.data.gouv.fr/fr/

occitanie-potpourri's People

Contributors

thomasdubdub avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.