diff --git a/layouts/index.html b/layouts/index.html index a87f028..d8e8bb1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -41,11 +41,12 @@ const columns = { finessET: 0, name: 1, - dep: 2, - tel: 3, - siret: 4, - x: 5, - y: 6, + name_long: 2, + dep: 3, + tel: 4, + siret: 5, + x: 6, + y: 7, } var json = fetch('./data.json').then(response => { return response.json(); @@ -56,7 +57,7 @@ const marker = L .marker([msp[columns.x], msp[columns.y]]) .bindPopup( - msp[columns.name] + " (" + msp[columns.dep] + ")
" + + (msp[columns.name_long] ? msp[columns.name_long] : msp[columns.name]) + " (" + msp[columns.dep] + ")
" + "Établissement FINESS N°" + msp[columns.finessET] + "
" + (msp[columns.siret] != null ? "SIREN : " + msp[columns.siret].substring(0, 9) + "
" : "") + (msp[columns.tel] != null ? "" + msp[columns.tel] + "" : "") diff --git a/scripts/finess-sisa.py b/scripts/finess-sisa.py index 7695bde..e7160f2 100644 --- a/scripts/finess-sisa.py +++ b/scripts/finess-sisa.py @@ -55,7 +55,7 @@ header_drop = [ 'section', # 'nofinesset', 'nofinessej', - 'rs', + #'rs', #'rslongue', 'complrs', 'compldistrib',