Update readme

This commit is contained in:
Gabriel Augendre 2021-08-06 16:03:24 +02:00
parent 8d8d49f0e6
commit 1c06e517c0

View file

@ -3,9 +3,16 @@
Extract data from INSEE number (France) Extract data from INSEE number (France)
## Getting started ## Getting started
### From package
```shell ```shell
pyenv virtualenv 3.9.6 insee # activate your venv
python -m pip install insee-number-translator
insee 269059913116714 168127982980507
```
### From sources
```shell
pyenv virtualenv 3.7.9 insee
pyenv local insee pyenv local insee
poetry install poetry install
# restart your shell # restart your shell
@ -14,6 +21,6 @@ insee 269059913116714 168127982980507
## Data sources ## Data sources
- cities : https://public.opendatasoft.com/explore/dataset/correspondance-code-insee-code-postal/export/ * cities : https://public.opendatasoft.com/explore/dataset/correspondance-code-insee-code-postal/export/
- countries : https://www.insee.fr/fr/information/2028273 * countries : https://www.insee.fr/fr/information/2028273
- departments : https://www.data.gouv.fr/fr/datasets/regions-departements-villes-et-villages-de-france-et-doutre-mer/ * departments : https://www.data.gouv.fr/fr/datasets/regions-departements-villes-et-villages-de-france-et-doutre-mer/