toulouse-maelis: get towns, completed with ban if available (#76444) #189

Merged
fpeters merged 1 commits from wip/76444-maelis-town-list into main 2023-04-09 19:09:22 +02:00
Owner
No description provided.
fpeters force-pushed wip/76444-maelis-town-list from 0d700eeb8b to 0b868caf02 2023-04-09 11:28:29 +02:00 Compare
Author
Owner

S'il y a un connecteur BAN on profite de son cache des communes pour compléter les données de Maelis; il y a un comportement particulier pour les arrondissements parce que dans la BAN il y a un seul code INSEE pour tous, vs Maelis qui donne des codes différents,

  id   | name | code  | zipcode
-------+------+-------+---------
 27674 | Lyon | 69123 | 69001
 27675 | Lyon | 69123 | 69002
 27676 | Lyon | 69123 | 69003
 27677 | Lyon | 69123 | 69004
 27678 | Lyon | 69123 | 69005
 27679 | Lyon | 69123 | 69006
 27680 | Lyon | 69123 | 69007
 27681 | Lyon | 69123 | 69008
 27682 | Lyon | 69123 | 69009

vs

 item_id |        item_text
---------+--------------------------
 69381   | LYON  1ER ARRONDISSEMENT
 69382   | LYON  2E  ARRONDISSEMENT
 69383   | LYON  3E  ARRONDISSEMENT
 69384   | LYON  4E  ARRONDISSEMENT
 69385   | LYON  5E  ARRONDISSEMENT
 69386   | LYON  6E  ARRONDISSEMENT
 69387   | LYON  7E  ARRONDISSEMENT
 69388   | LYON  8E  ARRONDISSEMENT
 69389   | LYON  9E  ARRONDISSEMENT
S'il y a un connecteur BAN on profite de son cache des communes pour compléter les données de Maelis; il y a un comportement particulier pour les arrondissements parce que dans la BAN il y a un seul code INSEE pour tous, vs Maelis qui donne des codes différents, ``` id | name | code | zipcode -------+------+-------+--------- 27674 | Lyon | 69123 | 69001 27675 | Lyon | 69123 | 69002 27676 | Lyon | 69123 | 69003 27677 | Lyon | 69123 | 69004 27678 | Lyon | 69123 | 69005 27679 | Lyon | 69123 | 69006 27680 | Lyon | 69123 | 69007 27681 | Lyon | 69123 | 69008 27682 | Lyon | 69123 | 69009 ``` vs ``` item_id | item_text ---------+-------------------------- 69381 | LYON 1ER ARRONDISSEMENT 69382 | LYON 2E ARRONDISSEMENT 69383 | LYON 3E ARRONDISSEMENT 69384 | LYON 4E ARRONDISSEMENT 69385 | LYON 5E ARRONDISSEMENT 69386 | LYON 6E ARRONDISSEMENT 69387 | LYON 7E ARRONDISSEMENT 69388 | LYON 8E ARRONDISSEMENT 69389 | LYON 9E ARRONDISSEMENT ```
fpeters changed title from WIP: toulouse-maelis: get towns, completed with ban if available (#76444) to toulouse-maelis: get towns, completed with ban if available (#76444) 2023-04-09 12:11:19 +02:00
lguerin approved these changes 2023-04-09 18:27:42 +02:00
fpeters added 1 commit 2023-04-09 18:52:32 +02:00
fpeters merged commit 42d08159db into main 2023-04-09 19:09:22 +02:00
fpeters deleted branch wip/76444-maelis-town-list 2023-04-09 19:09:22 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: entrouvert/passerelle#189
No description provided.