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

Latest commit

 

History

History
26 lines (17 loc) · 908 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 908 Bytes

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