Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data.stortinget.no #1

Closed
briatte opened this issue Feb 21, 2015 · 1 comment
Closed

data.stortinget.no #1

briatte opened this issue Feb 21, 2015 · 1 comment
Assignees

Comments

@briatte
Copy link
Owner

briatte commented Feb 21, 2015

data.stortinget.no has been updated (thanks to Magnus Eide for letting me know). The code should be updated to use the open data XML dumps instead of the online pages.

A preliminary analysis shows that the bills data go back to 1986, which represents 12 additional years (3 more legislatures) in comparison to the online pages.

Here are the legislature bill counts from scraping the online pages:

> table(a$legislature)

1997-2001 2001-2005 2005-2009 2009-2013 2013-2017 
      291       482       479       640       119 

And here are the same counts from the open data dumps, after some cleaning:

> table(b$legislature[ b$n_au > 0 ])

  1985-89   1989-93   1993-97 1997-2001 2001-2005 2005-2009 2009-2013 2013-2017 
      133       216       401       417       492       504       663       123 

The slight difference is due to cancelled or withdrawn bills.

@briatte briatte self-assigned this Feb 21, 2015
@briatte
Copy link
Owner Author

briatte commented Feb 21, 2015

Code updated, fixing various mistakes on the way.

@briatte briatte closed this as completed Feb 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant