jliski / verokone

Helsingin Sanomien Verokoneen scraper


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

Contributors jliski

Last run failed with status code 1.

Console output of last run

Handling year = 0 Handling year = 1 Handling year = 2 Handling year = 3 Handling year = 4 Handling year = 5 Handling year = 6 Handling year = 7 Handling year = 8 Handling year = 9 Handling year = 10 Handling year = 11 Handling year = 12 Handling year = 13 Handling year = 14 Handling year = 15 Handling year = 16 Handling year = 17 Handling year = 18 Handling year = 19 Handling Veijalainen Pyry Anton (syntynyt: 1995). Handling year: 2011 Handling year: 2012 Handling year: 2013 Handling year = 20 Traceback (most recent call last): File "/repo/scraper.py", line 56, in <module> handle_year(i) File "/repo/scraper.py", line 51, in handle_year handle_person(person_link.attrib['href'], birthyear) File "/repo/scraper.py", line 36, in handle_person print ' Handling %s' % name + ' (syntynyt: ' + birthyear + ').' UnicodeEncodeError: 'ascii' codec can't encode characters in position 13-14: ordinal not in range(128)

Data

Downloaded 1 time by MikeRalphson

To download data sign in with GitHub

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

rows 3 / 3

sij_kokonaistulot syntymavuosi vuosi ansiotulot asema sij_ansiotulot nimi veroprosentti varallisuus paaomatulot kokonaistulot
7484
1995
2011
0.0
Veijalainen Pyry Anton
29.0
-
0.21
0.21
8107
1995
2012
0.0
30552
Veijalainen Pyry Anton
32.0
-
0.2
0.2
9479
1995
2013
0.0
32498
Veijalainen Pyry Anton
32.0
-
0.2
0.2

Statistics

Average successful run time: less than 5 seconds

Total run time: half a minute

Total cpu time used: less than 5 seconds

Total disk space used: 25.7 KB

History

  • Manually ran revision ee097dd0 and failed .
    3 records added in the database
  • Manually ran revision 87d07340 and failed .
    nothing changed in the database
  • Manually ran revision 931b0cb1 and completed successfully .
    nothing changed in the database
  • Created on morph.io

Scraper code

Python

verokone / scraper.py