Contributors tmtmtmtm

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:363:in `open_http': 403 Forbidden (OpenURI::HTTPError) from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:741:in `buffer_open' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:212:in `block in open_loop' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:210:in `catch' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:210:in `open_loop' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:151:in `open_uri' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:721:in `open' from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/open-uri.rb:35:in `open' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request/strategy/live_request.rb:10:in `response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:29:in `block in first_successful_response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `first' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:30:in `first_successful_response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/request.rb:13:in `response' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/scraper.rb:15:in `scraper' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/scraped-ecb23adeca95/lib/scraped/scraper.rb:8:in `store' from scraper.rb:8:in `<main>'

Data

Downloaded 1406 times by everypolitician

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (211 KB) Use the API

rows 10 / 259

id name position_id position label start_date end_date ordinal
Q956335
Bill Graham
Q956335-722715E4-F1B4-4DC3-8718-1B002D621EA2
Q541355
Minister of Foreign Affairs of Canada
0
Q128574
Joe Clark
q128574-5919759A-A191-4AEE-A589-D8C9637173A1
Q839078
Prime Minister of Canada
1979-06-04
1980-03-03
16
Q1593109
Hector-Louis Langevin
Q1593109-87670594-B5DC-486A-9C22-87C39DD9150F
Q1195049
Minister of Crown-Indigenous Relations and Northern Affairs
1868-05-22
1869-12-07
0
Q128633
William Lyon Mackenzie King
Q128633-e35d248e-4da9-697a-5f1f-757e9ed16bbb
Q839078
Prime Minister of Canada
1926-09-25
1930-08-07
0
Q4492815
Chrystia Freeland
Q4492815-28252e84-4510-593b-1474-c58732456fff
Q748607
Minister of International Trade
2015-11-04
2017-01-10
0
Q3531723
Tony Clement
Q3531723-6B4C7953-8711-4991-970E-30E2905BEBF7
Q541355
Minister of Foreign Affairs of Canada
2015-11-20
2016-07-12
0
Q128696
John Abbott
q128696-1b33c650-4d9b-ba93-eb86-ed02c62e35db
Q839078
Prime Minister of Canada
1891-06-16
1892-11-24
3
Q128614
John Diefenbaker
q128614-0c292bf2-4f1f-16f3-cbc9-9bf66a70561b
Q839078
Prime Minister of Canada
1957-06-21
1963-04-22
13
Q128563
Brian Mulroney
q128563-e08abd0a-484c-e790-83d6-5c370aefe6ad
Q839078
Prime Minister of Canada
1984-09-17
1993-06-25
18
Q3441480
Rona Ambrose
Q3441480-c5cadc62-4035-4ca4-8976-c5acd365cdec
Q3251775
Minister of the Environment
2006-02-06
2007-01-03
0

Statistics

Average successful run time: 1 minute

Total run time: about 20 hours

Total cpu time used: about 2 hours

Total disk space used: 246 KB

History

  • Auto ran revision 17e01d54 and failed .
    nothing changed in the database
  • Auto ran revision 17e01d54 and failed .
    nothing changed in the database
  • Auto ran revision 17e01d54 and failed .
    nothing changed in the database
  • Auto ran revision 17e01d54 and failed .
    nothing changed in the database
  • Auto ran revision 17e01d54 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

canada-positions / scraper.rb