(English translation below)

Recentemente tive uma conversa com a minha namorada sobre o futuro da representação de certas profissões no parlamento Português. Mas é difícil discutir este assunto se não soubermos sequer qual é o estado actual da distribuição e como é que esta evoluiu ao longo dos anos.

Pois bem, para obter esta informação, usei os dados abertos do site oficial do parlamento Português e algumas programming skills. (Código está disponível aqui) Aqui vai o que obtive:

(isto inclui todos deputados listados nos dados, incluindo suplentes)

Da 5ª legislatura para trás faltam muitos dados, o que confunde as coisas pouco. Se removermos essas legislaturas, obtemos o seguinte:

As coisas parecem relativamente estáveis - não há grande variação na distribuição de profissões.

Mas será isto porque a) Os deputados não tendem a mudar (de notar que as 6 legislaturas representadas no último gráfico correspondem a apenas 24 anos, pelo que não é surpreendente se houver deputados que estão no parlamento à 6 legislaturas) ou b) Os deputados que entram tendem a ter uma distribuição semelhante aos que saem?

Tentei perceber isto, mas não encontrei uma forma fácil de o fazer através dos dados.

Algo interessante é o tamanho da lista de deputados ao longo das legislaturas (outra vez, nota que isto inclui suplentes):

II -> 432
III -> 454
IV -> 403
V -> 400
VI -> 349
VII -> 362
VIII -> 329
X -> 352
XI -> 260
XII -> 313
XIII -> 311

É estranho, parece que algo não bate certo. O número de deputados listados para a legislatura XI é especialmente esquisito tendo em conta as legislaturas antes e depois.

(Edit: Utilizador tarracecar do reddit apontou que a legislatura XI foi mais pequena que o usual (2 anos em vez de 4).)


Recently I had a conversation with my girlfriend about the future of the representation of certain professions in the Portuguese parliament. But it is difficult to discuss this issue if we don’t even know what is the current state of the distribution and how it evolve throughout the years.

Well, to get this information I used the open data available in the official site of the Portuguese parliament and some programming skills. (Code is available here) Here is what I got:

(This includes all representatives listed, including surrogates)

Until the 5th legislature there’s a lot of data missing, which confuses things a bit. If we remove those legislatures, here’s what we get:

Things seem to be relatively stable - there isn’t much variation in the distribution of professions.

But is this because a) The representatives don’t tend to change (note that the 6 legislatures represented in the last chart correspond to just 24 years, so it is not surprising if there are representatives that are in the parliament in all that time) or b) The professions of the new representatives each legislature tend to have a similar distribution to the distribution of the ones who leave.

I’ve tried to understand this, but haven’t found an easy way to do it from the data.

Something interesting is the size of the list of representatives throughout the legislatures (again, note that this includes surrogates).

II -> 432
III -> 454
IV -> 403
V -> 400
VI -> 349
VII -> 362
VIII -> 329
X -> 352
XI -> 260
XII -> 313
XIII -> 311

It is weird, something is not right. The number of representatives listed of legislature XI is especially odd considering the legislatures immediately before and after.

(Edit: Reddit user tarracecar points out that legislature XI was smaller than usual (2 years, instead of 4).)