struan / spain_congreso_es

Details of members of the Spanish Congress from the official website congreso.es


This is a scraper that runs on Morph. To get started see the documentation

Last run failed with status code 999.

Console output of last run

Please install the Morph Github App on struan so that Morph can access this repository on GitHub. Please go to https://github.com/apps/morph-io/installations/new/permissions?repository_ids%5B%5D=42233189&repository_ids%5B%5D=53657961&repository_ids%5B%5D=42299340&repository_ids%5B%5D=42113335&repository_ids%5B%5D=42173712&repository_ids%5B%5D=54212200&repository_ids%5B%5D=42445166&repository_ids%5B%5D=42180489&repository_ids%5B%5D=81095831&repository_ids%5B%5D=75192657&repository_ids%5B%5D=42304564&repository_ids%5B%5D=50354770&suggested_target_id=5310 Why? See https://morph.io/documentation/github_app

Data

Downloaded 2165 times by everypolitician tmtmtmtm octopusinvitro struan MikeRalphson lpszBar chrismytton polmeth atelier-richelieu

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (4.08 MB) Use the API

rows 10 / 5882

id name term iddiputado url
0
XIV Legislatura
13
191
0
X Legislatura
9
301
0
X Legislatura
9
240
0
IX Legislatura
8
303
0
VIII Legislatura
7
270
0
XII Legislatura
11
346
0
VII Legislatura
6
255
0
IX Legislatura
8
197
0
III Legislatura
2
275
0
XIV Legislatura
13
128

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (4.08 MB) Use the API

rows 10 / 15

id name start_date end_date source
1
I Legislatura
1979
1982
14
XIV Legislatura
2019
13
XIII Legislatura
2019
2019
5
V Legislatura
1993
1996
4
IV Legislatura
1989
1993
3
III Legislatura
1986
1989
2
II Legislatura
1982
1986
0
Legislatura Constituyente
1977
1979
12
XII Legislatura
2016
2019
11
XI Legislatura
2016
2016

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (4.08 MB) Use the API

rows 10 / 5885

iddiputado name sort_name given_name family_name gender party faction_id faction source dob term start_date end_date email twitter facebook phone fax constituency photo id
44
José Manuel García-Margallo y Marfil
García-Margallo y Marfil, José Manuel
José Manuel
García-Margallo y Marfil
male
PP
GP
G.P. Popular
Nacido el 13 de agosto de 1944 .
11
2015-12-30
Alicante
11_44
172
Celinda Sánchez García
Sánchez García, Celinda
Celinda
Sánchez García
female
PP
GP
G.P. Popular
1945-12-24
9
2008-03-25
2011-09-27
Palencia
9_172
352
Rubén Moreno Palanques
Moreno Palanques, Rubén
Rubén
Moreno Palanques
male
PP
GP
G.P. Popular
1958-07-23
0
2011-12-05
2014-12-05
Valencia
10_288
151
Arsenio Fernández de Mesa Díaz del Río
Fernández de Mesa Díaz del Río, Arsenio
Arsenio
Fernández de Mesa Díaz del Río
male
PP
GP
G.P. Popular
1955-07-20
10
2012-01-02
A Coruña
4_69
169
Jorge Fernández Díaz
Fernández Díaz, Jorge
Jorge
Fernández Díaz
male
PP
GP
G. P. Popular
1950-04-06
12
2019-05-21
Barcelona
4_115
268
Francesc Xavier Domènech Sampere
Domènech Sampere, Francesc Xavier
Francesc Xavier
Domènech Sampere
male
ECP
GCUP-EC-EM
G.P. Confederal de Unidos Podemos-En Comú Podem-En Marea
1974-12-02
12
2018-01-17
Barcelona
11_138
227
María del Carmen Dueñas Martínez
Dueñas Martínez, María del Carmen
María del Carmen
Dueñas Martínez
female
PP
GP
G. P. Popular
1964-12-23
12
2019-03-05
Melilla
11_211
194
Josep Antoni Duran i Lleida
Duran i Lleida, Josep Antoni
Josep Antoni
Duran i Lleida
male
CiU
CiU
G.P. Catalán
1952-03-27
10
2016-01-13
Barcelona
2_240
376
Gabriel Elorriaga Pisarik
Elorriaga Pisarik, Gabriel
Gabriel
Elorriaga Pisarik
male
PP
GP
G.P. Popular en el Congreso
1962-06-11
14
gabriel.elorriaga@congreso.es
gabrielorriaga
Madrid
8_107
132
Jesús María Elorriaga Zarandona
Elorriaga Zarandona, Jesús María
Jesús María
Elorriaga Zarandona
male
PNV
PNV
Grupo Parlamentario Vasco
1
1982-08-31
Vizcaya
0_358

Statistics

Average successful run time: about 2 hours

Total run time: about 1 year

Total cpu time used: 8 days

Total disk space used: 60.5 MB

History

  • Auto ran and failed .
  • Auto ran and failed .
  • Auto ran and failed .
  • Auto ran and failed .
  • Auto ran and failed .
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

spain_congreso_es / scraper.rb