OpenParliamentTV / OpenParliamentTV-NEL

0 stars 1 forks source link

Create new list "factions" #9

Closed alexabruck closed 3 years ago

alexabruck commented 3 years ago

@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

OpenHypervideo commented 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).

alexabruck commented 3 years ago

@OpenHypervideo could you paste a dictionary here? thanks!

OpenHypervideo commented 3 years ago

Mapping for Bundestag Factions:

For BÜNDNIS 90/DIE GRÜNEN we get either

For DIE LINKE we get

For AfD we get

Might this help?

alexabruck commented 3 years ago

Thanks. In the case of the lists of factions, do we want multiple short names in a list?

alexabruck commented 3 years ago

Also, should the faction short names be in uppercase like you wrote?

OpenHypervideo commented 3 years ago

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.

alexabruck commented 3 years ago

@OpenHypervideo Does this list look about right to you? https://github.com/OpenParliamentTV/OpenParliamentTV-NEL/blob/main/db_dump/data/factions/factions-final.json

OpenHypervideo commented 3 years ago

Yes, only that the socialMediaIDs still need to be reformatted. But that's a different issue (https://github.com/OpenParliamentTV/OpenParliamentTV-NEL/issues/12).