Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
/ datagouvfr Public archive

Inject data.gouv.fr data into ElasticSearch, to consume with Kibana

License

Notifications You must be signed in to change notification settings

dmathieu/datagouvfr

Repository files navigation

Data Gouv FR

This project will load data from data.gouv.fr's Open Data and inject it into ElasticSearch, so it can then be consumed/displayed within Kibana.

Usage

You need ElasticSearch and Kibana installed locally. You also need Python 3.x installed, as well a pipenv.

You will also need an API key from data.gouv.fr's API.

pipenv install
DATA_GOUV_API_KEY=<your API key> python main.py

This will inject all the datasets configured in config.json into Elastic, with one dataset for each index.

Once all the data is injected, it will be available to be used within Kibana.

For example, the following is a graph showing the number of person in intensive care from march 3rd to september 30.

Number of person in intensive care

About

Inject data.gouv.fr data into ElasticSearch, to consume with Kibana

Topics

Resources

License

Stars

Watchers

Forks

Languages