tmtmtmtm / sweden-parliament-api

Scrapes data.riksdagen.se

Riksdagens öppna data


Contributors tmtmtmtm

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Fetching http://data.riksdagen.se/personlista/?iid=&fnamn=&enamn=&f_ar=&kn=&parti=&valkrets=&rdlstatus=samtliga&org=&utformat=xml&termlista= Invalid dates: {:start_date=>"2010-04-28", :end_date=>"2006-02-20", :substitute=>"", :term=>nil}

Data

Downloaded 1392 times by everypolitician tmtmtmtm MikeRalphson ondenman

To download data sign in with GitHub

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

rows 10 / 12

id name start_date end_date
1976
1976–1979
1976-10-04
1979-10-01
1979
1979–1982
1979-10-01
1982-10-04
1982
1982–1985
1982-10-04
1985-09-30
1985
1985–1988
1985-09-30
1988-10-03
1988
1988–1991
1988-10-03
1991-09-30
1991
1991–1994
1991-09-30
1994-10-03
1994
1994–1998
1994-10-03
1998-10-05
1998
1998–2002
1998-10-05
2002-09-30
2002
2002–2006
2002-09-30
2006-10-02
2006
2006–2010
2006-10-02
2010-10-04

To download data sign in with GitHub

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

rows 10 / 5243

id party_id party constituency birth_date gender name family_name given_name sort_name website email facebook twitter linkedin image source start_date end_date term substitute death_date
0237055280513
KD
Kristdemokraterna
Västra Götalands läns västra
1951
male
Roland Utbult
Utbult
Roland
Roland
roland.utbult@riksdagen.se
2016-04-25
2018-09-24
2014
0251617324715
S
Socialdemokraterna
Västerbottens län
1954
female
Katarina Köhler
Köhler
Katarina
Katarina
katarina.kohler@riksdagen.se
2016-05-01
2018-09-24
2014
014386615025
V
Vänsterpartiet
Stockholms län
1976
male
Ali Esbati
Esbati
Ali
Ali
ali.esbati@riksdagen.se
2016-06-17
2018-09-24
2014
0502688311316
S
Socialdemokraterna
Stockholms län
1957
female
Anna Vikström
Vikström
Anna
Anna
anna.vikstrom@riksdagen.se
2016-08-14
2017-04-01
2014
Mikael Damberg
0251617324715
S
Socialdemokraterna
Västerbottens län
1954
female
Katarina Köhler
Köhler
Katarina
Katarina
katarina.kohler@riksdagen.se
2016-10-16
2018-09-24
2014
0190560012714
M
Moderata samlingspartiet
Värmlands län
1961
female
Pia Hallström
Hallström
Pia
Pia
pia.hallstrom@riksdagen.se
2016-10-31
2018-09-24
2014
0111479807829
S
Socialdemokraterna
Skåne läns norra och östra
1985
female
Anna Wallentheim
Wallentheim
Anna
Anna
anna.wallentheim@riksdagen.se
2017-01-01
2018-09-24
2014
0182800488922
SD
Sverigedemokraterna
Kalmar län
1988
female
Paula Bieler
Bieler
Paula
Paula
paula.bieler@riksdagen.se
2016-11-21
2018-09-24
2014
0638497389621
SD
Sverigedemokraterna
Stockholms län
1980
female
Julia Kronlid
Kronlid
Julia
Julia
julia.kronlid@riksdagen.se
2017-01-07
2018-09-24
2014
0251617324715
S
Socialdemokraterna
Västerbottens län
1954
female
Katarina Köhler
Köhler
Katarina
Katarina
katarina.kohler@riksdagen.se
2017-01-13
2018-09-24
2014

Statistics

Average successful run time: 3 minutes

Total run time: 1 day

Total cpu time used: about 2 hours

Total disk space used: 2.38 MB

History

  • Auto ran revision 1079c920 and completed successfully .
    5227 records added, 5227 records removed in the database
    1 page scraped
  • Auto ran revision 1079c920 and completed successfully .
    5227 records added, 5227 records removed in the database
    1 page scraped
  • Auto ran revision 1079c920 and completed successfully .
    5227 records added, 5225 records removed in the database
    1 page scraped
  • Auto ran revision 1079c920 and completed successfully .
    5225 records added, 5225 records removed in the database
    1 page scraped
  • Auto ran revision 1079c920 and completed successfully .
    5225 records added, 5225 records removed in the database
    1 page scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

sweden-parliament-api / scraper.rb