-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big update for 2023 elections: remove/comment code relevant only to t…
…he previous elections (gemeenteraadsverkiezingen 2022); apply changes for Stembureau Open Data Standaard v1.4 (adds fields "Type stembureau", "Toegankelijke ov-halte", "Extra toegankelijkheidsinformatie" and splits "Openingstijden" into "Openingstijd" and "Sluitingstijd" + textual/info changes); change elections from 2022GR to 2023PS/WS/ER/KC; update gemeenten; some fixes
- Loading branch information
1 parent
8ce79ef
commit eb6777e
Showing
41 changed files
with
1,960 additions
and
826 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1715,10 +1715,10 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/bootstrap-sass/-/bootstrap-sass-3.3.6.tgz#363b0d300e868d3e70134c1a742bb17288444fd1" | ||
integrity sha1-NjsNMA6GjT5wE0wadCuxcohET9E= | ||
|
||
bootstrap-select@^1.13.5: | ||
version "1.13.18" | ||
resolved "https://registry.yarnpkg.com/bootstrap-select/-/bootstrap-select-1.13.18.tgz#4557119d58dc1159189977161c803962220e4dda" | ||
integrity sha512-V1IzK4rxBq5FrJtkzSH6RmFLFBsjx50byFbfAf8jYyXROWs7ZpprGjdHeoyq2HSsHyjJhMMwjsQhRoYAfxCGow== | ||
[email protected]: | ||
version "1.13.5" | ||
resolved "https://registry.yarnpkg.com/bootstrap-select/-/bootstrap-select-1.13.5.tgz#12f000b25a95ed642fe371ae9e311d3afbb8c53f" | ||
integrity sha512-1uYsYLB4FvGdwM6qzIfTxp6sP5gDqjPgWNHJztBfYUTIo1GUYG5zzmMVWiJvdxJlsvBXZ9AObmeZdzi0eg2jaA== | ||
|
||
[email protected]: | ||
version "1.19.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,6 +137,10 @@ def add_new_datastore(resource_id): | |
"id": "Naam stembureau", | ||
"type": "text" | ||
}, | ||
{ | ||
"id": "Type stembureau", | ||
"type": "text" | ||
}, | ||
{ | ||
"id": "Gebruiksdoel van het gebouw", | ||
"type": "text" | ||
|
@@ -210,19 +214,19 @@ def add_new_datastore(resource_id): | |
"type": "float" | ||
}, | ||
{ | ||
"id": "Openingstijden 14-03-2022", | ||
"type": "text" | ||
"id": "Openingstijd", | ||
"type": "timestamp" | ||
}, | ||
{ | ||
"id": "Openingstijden 15-03-2022", | ||
"type": "text" | ||
"id": "Sluitingstijd", | ||
"type": "timestamp" | ||
}, | ||
{ | ||
"id": "Openingstijden 16-03-2022", | ||
"id": "Toegankelijk voor mensen met een lichamelijke beperking", | ||
"type": "text" | ||
}, | ||
{ | ||
"id": "Toegankelijk voor mensen met een lichamelijke beperking", | ||
"id": "Toegankelijke ov-halte", | ||
"type": "text" | ||
}, | ||
{ | ||
|
@@ -241,6 +245,10 @@ def add_new_datastore(resource_id): | |
"id": "Gehandicaptentoilet", | ||
"type": "text" | ||
}, | ||
{ | ||
"id": "Extra toegankelijkheidsinformatie", | ||
"type": "text" | ||
}, | ||
{ | ||
"id": "Kieskring ID", | ||
"type": "text" | ||
|
@@ -664,6 +672,7 @@ def test_datastore_upsert(resource_id): | |
"CBS gemeentecode": "GM0518", | ||
"Nummer stembureau": "517", | ||
"Naam stembureau": "Stadhuis", | ||
"Type stembureau": "regulier", | ||
"Gebruiksdoel van het gebouw": "kantoor", | ||
"Website locatie": ( | ||
"https://www.denhaag.nl/nl/bestuur-en-organisatie/contact-met-" | ||
|
@@ -685,21 +694,22 @@ def test_datastore_upsert(resource_id): | |
"Y": 454909, | ||
"Latitude": 52.0775912, | ||
"Longitude": 4.3166395, | ||
"Openingstijden 14-03-2022": "2022-03-14T07:30:00 tot 2022-03-14T21:00:00", | ||
"Openingstijden 15-03-2022": "2022-03-15T07:30:00 tot 2022-03-15T21:00:00", | ||
"Openingstijden 16-03-2022": "2022-03-16T07:30:00 tot 2022-03-16T21:00:00", | ||
"Openingstijd": "2023-03-15T07:30:00", | ||
"Sluitingstijd": "2023-03-15T21:00:00", | ||
"Toegankelijk voor mensen met een lichamelijke beperking": "ja", | ||
"Toegankelijke ov-halte": "binnen 100 meter, rolstoeltoegankelijk, geleidelijnen", | ||
"Akoestiek": "ja", | ||
"Auditieve hulpmiddelen": "gebarentolk", | ||
"Visuele hulpmiddelen": "stemmal, vrijwilliger/host aanwezig", | ||
"Auditieve hulpmiddelen": "gebarentolk, schrijftolk", | ||
"Visuele hulpmiddelen": "stemmal, soundbox, vrijwilliger/host aanwezig, geleidelijnen", | ||
"Gehandicaptentoilet": "nee", | ||
"Extra toegankelijkheidsinformatie": "prikkelarm stembureau, stembureau is volledig toegankelijk voor mensen met een lichamelijke beperking er is echter geen gehandicaptenparkeerplaats", | ||
"Kieskring ID": "'s-Gravenhage", | ||
"Hoofdstembureau": "Nederland", | ||
"Tellocatie": "ja", | ||
"Contactgegevens gemeente": "Unit Verkiezingen, [email protected] 070-3534488 Gemeente Den Haag Publiekszaken/Unit Verkiezingen Postbus 84008 2508 AA Den Haag", | ||
"Verkiezingswebsite gemeente": "https://www.stembureausindenhaag.nl/", | ||
#"Verkiezingen": "", | ||
"ID": "NLODSGM0518stembureaus20220316009", | ||
"Verkiezingen": "waterschapsverkiezingen voor Delfland", | ||
"ID": "NLODSGM0518stembureaus20230315010", | ||
"UUID": uuid.uuid4().hex | ||
} | ||
ckan.save_records( | ||
|
Oops, something went wrong.