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

Contributors struan tmtmtmtm octopusinvitro chrismytton

The scraper is running. It was queued automatically .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... including Capybara::DSL in the global scope is not recommended! including Capybara::DSL in the global scope is not recommended! including Capybara::DSL in the global scope is not recommended! including Capybara::DSL in the global scope is not recommended! failed to find name element for http://www.congreso.es/portal/page/portal/Congreso/Congreso/Diputados/BusqForm?next_page=/wc/fichaDiputado&idLegislatura=6&idDiputado=305 failed to find name element for http://www.congreso.es/portal/page/portal/Congreso/Congreso/Diputados/BusqForm?next_page=/wc/fichaDiputado&idLegislatura=6&idDiputado=305 failed to find name element for http://www.congreso.es/portal/page/portal/Congreso/Congreso/Diputados/BusqForm?next_page=/wc/fichaDiputado&idLegislatura=6&idDiputado=305 failed to find name element for http://www.congreso.es/portal/page/portal/Congreso/Congreso/Diputados/BusqForm?next_page=/wc/fichaDiputado&idLegislatura=6&idDiputado=305

Data

Downloaded 2164 times by everypolitician tmtmtmtm octopusinvitro struan MikeRalphson lpszBar chrismytton polmeth

To download data sign in with GitHub

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

rows 10 / 5881

id name term iddiputado url
0
Errekondo Saltsamendi, Xabier Mikel
10
341
0
Escartín Ipiens, José Antonio
1
52
0
Escobar Las Heras, Conrado
10
84
0
Escuder Croft, Arturo
2
136
0
Escudero Sánchez, María
8
22
0
Escudero Zamora, Manuel María
7
413
0
España Moya, Julio Francisco de
5
295
0
Espinet Chancho, José
0
234
0
Espinosa López, Rosalía de los Ángeles
7
333
0
Espinosa Mangana, María Elena
9
91

To download data sign in with GitHub

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

rows 10 / 15

id name start_date end_date source
5
V Legislatura
1993
1996
12
XII Legislatura
2016
2019
10
X Legislatura
2011
2016
14
XIV Legislatura
2019
13
XIII Legislatura
2019
2019
1
I Legislatura
1979
1982
7
VII Legislatura
2000
2004
6
VI Legislatura
1996
2000
0
Legislatura Constituyente
1977
1979
4
IV Legislatura
1989
1993

To download data sign in with GitHub

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

rows 10 / 5864

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
230
Nicolás Sartorius Álvarez de las Asturias Bohorques
Sartorius Álvarez de las Asturias Bohorques, Nicolás
Nicolás
Sartorius Álvarez de las Asturias Bohorques
male
IU
GIU-IC
Grupo Parlamentario de Izquierda Unida-Iniciativa per Catalunya
4
1989-11-15
1993-06-29
Sevilla
1_388
266
Raimundo Viejo Viñas
Viejo Viñas, Raimundo
Raimundo
Viejo Viñas
male
ECP
GCUP-EC-EM
G.P. Confederal de Unidos Podemos-En Comú Podem-En Marea
12
2016-07-13
2019-03-05
Barcelona
11_94
43
María del Carmen Quintanilla Barba
Quintanilla Barba, María del Carmen
María del Carmen
Quintanilla Barba
female
PP
GP
G. P. Popular
12
2016-07-05
2019-03-05
Ciudad Real
7_226
120
Alejandro Ramírez del Molino Morán
Ramírez del Molino Morán, Alejandro
Alejandro
Ramírez del Molino Morán
male
PP
GP
G. P. Popular
12
2016-07-07
2016-08-22
Badajoz
9_115
2
Enrique Ramón Fajarnés
Ramón Fajarnés, Enrique
Enrique
Ramón Fajarnés
male
PP
GP
Grupo Parlamentario Popular en el Congreso
4
1989-11-07
1993-04-13
Baleares
3_100
346
Miguel Ramón Izquierdo
Ramón Izquierdo, Miguel
Miguel
Ramón Izquierdo
male
UV
GMX
Grupo Parlamentario Mixto
3
1986-07-14
1989-09-02
Valencia
2_282
251
Alejandro Rebollo Álvarez-Amandi
Rebollo Álvarez-Amandi, Alejandro
Alejandro
Rebollo Álvarez-Amandi
male
CDS
GCDS
Grupo Parlamentario de CDS
4
1989-11-15
1993-06-29
Asturias
3_139

Statistics

Average successful run time: about 2 hours

Total run time: 11 months

Total cpu time used: 7 days

Total disk space used: 179 MB

History

  • Auto ran revision 54698531 and failed .
    9776 records added, 9776 records removed in the database
  • Auto ran revision 54698531 and failed .
    2970 records added, 2970 records removed in the database
  • Auto ran revision 54698531 and failed .
    4343 records added, 4343 records removed in the database
  • Auto ran revision 54698531 and failed .
    9721 records added, 9721 records removed in the database
  • Auto ran revision 54698531 and failed .
    9460 records added, 9460 records removed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

spain_congreso_es / scraper.rb