etalab / geohisto

[UNMAINTAINED] Historic information for French regions, counties, overseas collectivities and towns based on INSEE and Wikipedia data, exported as (re)usable CSV files.
Other
28 stars 1 forks source link

Towns with same INSEE code at the same moment #25

Closed jdesboeufs closed 7 years ago

jdesboeufs commented 7 years ago

We have two town entries with the same code at the same moment.

Command

cat towns.csv | grep 76355

Output

COM76355@1976-10-29,76355,1976-10-29 00:00:00,9999-12-31 23:59:59,Héricourt-en-Caux,,COM76355@1942-01-01,DEP76@1860-07-01;DEP76@1955-01-18,936,230
COM76355@1973-04-10,76355,1973-04-10 00:00:00,9999-12-31 23:59:59,Rocquefort-sur-Héricourt,,COM76531@1942-01-01;COM76355@1942-01-01,DEP76@1860-07-01;DEP76@1955-01-18,1247,120
jdesboeufs commented 7 years ago

Original debug output (from https://github.com/jdesboeufs/geohisto-experiment)

geohisto At least two records with code 76355 match for this instant +0ms
geohisto {"name":"Héricourt-en-Caux","code":"76355","startDate":"1976-10-29"} +2ms
geohisto {"name":"Rocquefort-sur-Héricourt","code":"76355","startDate":"1973-04-10"} +1ms