tmtmtmtm / chile-opendata

Scrapes opendata.congreso.cl

CONGRESO NACIONAL | CHILE


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

Contributors tmtmtmtm octopusinvitro

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Ruby app detected -----> Compiling Ruby -----> Using Ruby version: ruby-2.3.0 -----> Installing dependencies using bundler 1.15.2  Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment  Fetching gem metadata from https://rubygems.org/........  Fetching version metadata from https://rubygems.org/..  Fetching dependency metadata from https://rubygems.org/.  Fetching https://github.com/openaustralia/scraperwiki-ruby.git  Using bundler 1.15.2  Fetching coderay 1.1.1  Fetching colorize 0.8.1  Fetching excon 0.51.0  Installing colorize 0.8.1  Fetching execjs 2.7.0  Installing coderay 1.1.1  Installing execjs 2.7.0  Fetching multipart-post 2.0.0  Installing excon 0.51.0  Fetching fuzzy_match 2.1.0  Installing multipart-post 2.0.0  Fetching hashie 3.4.4  Installing fuzzy_match 2.1.0  Installing hashie 3.4.4  Fetching httpclient 2.8.0  Fetching method_source 0.8.2  Installing method_source 0.8.2  Fetching mini_portile2 2.1.0  Fetching pkg-config 1.1.7  Installing httpclient 2.8.0  Installing mini_portile2 2.1.0  Installing pkg-config 1.1.7  Fetching open-uri-cached 0.0.5  Installing open-uri-cached 0.0.5  Fetching slop 3.6.0  Fetching sqlite3 1.3.11  Installing sqlite3 1.3.11 with native extensions  Installing slop 3.6.0  Fetching faraday 0.9.2  Fetching nokogiri 1.6.8  Installing faraday 0.9.2  Fetching pry 0.10.4  Installing pry 0.10.4  Fetching faraday_middleware 0.10.0  Installing faraday_middleware 0.10.0  Fetching wikidata-client 0.0.10  Installing nokogiri 1.6.8 with native extensions  Installing wikidata-client 0.0.10  Fetching sqlite_magic 0.0.6  Installing sqlite_magic 0.0.6  Using scraperwiki 3.0.1 from https://github.com/openaustralia/scraperwiki-ruby.git (at morph_defaults@fc50176)  Bundle complete! 8 Gemfile dependencies, 22 gems now installed.  Gems in the groups development and test were not installed.  Bundled gems are installed into ./vendor/bundle.  Bundle completed (17.66s)  Cleaning up the bundler cache. -----> Installing node-v6.11.1-linux-x64 -----> Detecting rake tasks   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... Fetching term 8 Fetching term 6 Fetching term 5 Fetching term 4 Fetching term 3 Fetching term 2 Fetching term 1

Data

Downloaded 1106 times by everypolitician primaveraentalca tmtmtmtm MikeRalphson Cristoph

To download data sign in with GitHub

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

rows 10 / 850

id name sort_name gender email district party party_id term
177
Felipe Letelier Norambuena
Letelier
male
felipe.letelier
33
Partido Por la Democracia
PPD
8
802
Sergio Aguiló Melo
Aguiló
male
saguilo
37
Izquierda Ciudadana
IC
8
811
Ramón Barros Montero
Barros
male
jbarros
35
Independientes
IND
8
813
Germán Becker Alvear
Becker
male
gbecker
50
Renovación Nacional
RN
8
819
Guillermo Ceroni Fuentes
Ceroni
male
gceroni
40
Partido Por la Democracia
PPD
8
836
Marcos Espinosa Monardes
Espinosa
male
mespinosa
3
Partido Radical Social Demócrata
PRSD
8
837
Fidel Espinoza Sandoval
Espinoza
male
fespinoza
56
Partido Socialista
PS
8
839
Ramón Farías Ponce
Farías
male
rfarias
25
Partido Por la Democracia
PPD
8
843
René Manuel García García
García
male
rmgarcia
52
Renovación Nacional
RN
8
846
Joaquín Godoy Ibáñez
Godoy
male
jgodoy
13
Amplitud
AMPL
8

Statistics

Average successful run time: 2 minutes

Total run time: 8 days

Total cpu time used: 28 minutes

Total disk space used: 120 KB

History

  • Auto ran revision 71042f51 and completed successfully .
    nothing changed in the database
    9 pages scraped
  • Auto ran revision 71042f51 and completed successfully .
    nothing changed in the database
    9 pages scraped
  • Auto ran revision 71042f51 and completed successfully .
    nothing changed in the database
    9 pages scraped
  • Auto ran revision 71042f51 and completed successfully .
    nothing changed in the database
    9 pages scraped
  • Auto ran revision 71042f51 and completed successfully .
    nothing changed in the database
    9 pages scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Ruby

chile-opendata / scraper.rb