Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Add i-ort for MPs since 1994/95 #294

Closed
fredrik1984 opened this issue May 12, 2023 · 11 comments
Closed

Add i-ort for MPs since 1994/95 #294

fredrik1984 opened this issue May 12, 2023 · 11 comments
Milestone

Comments

@fredrik1984
Copy link
Collaborator

We have all the i-ort for MPs from 1867–1993/94 from the bio books. After 1993/94, i-ort is basically only used when two MPs have the same name and party at the same mandate period. Still, we should add all existing i-ort to the MP database.

@fredrik1984 fredrik1984 added this to the MP database milestone May 12, 2023
@BobBorges
Copy link
Collaborator

Was there a defined upper limit of the known_mps_catalog (Emil and Magnus' file) --- 199394? Latest birth dates are in 1960s. There is an iort for every person in that file, but I just checked two speakers from a 202122 protocol and they are not in this catalog. Since the catalog is used for quality control, shouldn't we strive to have all MPs in the period for which we have protocols?

@fredrik1984
Copy link
Collaborator Author

I think so. All MPs should be in the catalog. @ninpnin do you have any thoughts here?

@MansMeg
Copy link
Collaborator

MansMeg commented May 12, 2023

Yes. This is just up until 1994. The other iorts we will get from riksdagens öppna data. But I think we take it step by step. Im not sure this is the main priority to fix. So lets leave this as an issue for now.

@salgo60
Copy link
Contributor

salgo60 commented May 12, 2023

@BobBorges I have in my backlog for "ersättare" #116 ----> I guess that will add some people missing in Emils "gold standard file"

image

@fredrik1984
Copy link
Collaborator Author

The important thing, for now, is to have all MPs in the database and some metadata that we need to manage the mapping between MPs in the database and speaker introductions, motions, committee reports etc.

For this we need name (first name+surname), chamber+time in chamber, i-ort (at least up to 1990), party (this becomes an important category from the 1950s, before that it seems not to be an important category for how MPs are introduced in the parliamentary documents).

Hence, we soon have what the need to start improving the mapping pf speaker introduction and later mapping MPs to motions.

@salgo60
Copy link
Contributor

salgo60 commented May 13, 2023

#141 I created an issue with the iort problems I see in todays data from Riksdagen... and also did a check iort "Riksdagens Öppna data" <-> WD

Let me know if we should have 10 minutes sharing screen and I can show you how Wikidata supports more iort or other related issues.... we have an instance of Jitsi instance meet.jit.si/Wikidata-SV that I normally use (same instance used for wikidata sunday informal meetings of some people)...

/Magnus Sälgö
0735152802

@BobBorges
Copy link
Collaborator

This might be trickier than we think. I downloaded 700k rows of open MP data from riksdagen -- of 2171 people in that list, only 17 have a non-empty i-ort :|

@BobBorges
Copy link
Collaborator

image

@salgo60
Copy link
Contributor

salgo60 commented Sep 22, 2023

@fredrik1984
Copy link
Collaborator Author

Well, I don't think this is a really big problem for us. I-ort is not used in the same comprehensive way anymore. We need to ask the library about when they stopped using it for all MPs. My hunch is that it was sometime during the 1990s. Today they use first name + surname + party to distinguish between MPs.

@MansMeg
Copy link
Collaborator

MansMeg commented Sep 22, 2023

Then I guess we just check these 17 people and add them as a unit test and we are done with this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants