2019-07-11 00:03:31 +02:00
|
|
|
# INSEE number translator
|
|
|
|
|
|
|
|
Extract data from INSEE number (France)
|
|
|
|
|
2021-08-06 15:37:45 +02:00
|
|
|
## Getting started
|
2021-08-18 19:01:17 +02:00
|
|
|
### From sources
|
|
|
|
#### Run
|
2021-08-06 16:03:24 +02:00
|
|
|
```shell
|
2021-08-18 22:46:05 +02:00
|
|
|
go run . 269059913116714 168127982980507 299122A00498723 299129742398791 144089943287340
|
2021-08-06 16:03:24 +02:00
|
|
|
```
|
2021-08-06 15:37:45 +02:00
|
|
|
|
2021-08-18 19:01:17 +02:00
|
|
|
#### Build & install
|
2021-08-06 15:37:45 +02:00
|
|
|
```shell
|
2021-08-18 19:01:17 +02:00
|
|
|
go install
|
2021-08-18 22:46:05 +02:00
|
|
|
insee_number_translator 269059913116714 168127982980507 299122A00498723 299129742398791 144089943287340
|
2021-08-06 15:37:45 +02:00
|
|
|
```
|
|
|
|
|
2019-07-11 00:03:31 +02:00
|
|
|
## Data sources
|
|
|
|
|
2021-08-06 16:03:24 +02:00
|
|
|
* cities : https://public.opendatasoft.com/explore/dataset/correspondance-code-insee-code-postal/export/
|
|
|
|
* 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/
|