Closed alexabruck closed 3 years ago
Oh this is unfortunate (and strange). Your solution makes sense. Let's not worry about other parliaments for now and use a manual mapping (which we can then extend later for other parliaments).
@OpenHypervideo could you paste a dictionary here? thanks!
Mapping for Bundestag Factions:
For BÜNDNIS 90/DIE GRÜNEN we get either
BÜNDNIS 90/DIE GRÜNEN
orB90/GRÜNE
For DIE LINKE we get
DIE LINKE
orLINKE
For AfD we get
AfD
or AFD
Might this help?
Thanks. In the case of the lists of factions, do we want multiple short names in a list?
Also, should the faction short names be in uppercase like you wrote?
Multiple short names: no, only one. Forget about the alternatives, I got that wrong.
Uppercase: Yes, only AfD should stay as AfD. The rest uppercase.
@OpenHypervideo Does this list look about right to you? https://github.com/OpenParliamentTV/OpenParliamentTV-NEL/blob/main/db_dump/data/factions/factions-final.json
Yes, only that the socialMediaIDs still need to be reformatted. But that's a different issue (https://github.com/OpenParliamentTV/OpenParliamentTV-NEL/issues/12).
@OpenHypervideo Problem: In Wikidata is no "short name" property for factions Solution: We can include these short names manually by providing a dictionary ourself To be discussed: how this will work for other parlaments