Coder Social home page Coder Social logo

finpar's People

Contributors

antagomir avatar jlehtoma avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

finpar's Issues

Gender variable?

Quick question โ€“ I'm looking at these pages (MP biographies on the Finnish Parliament website), and I can't find a way to impute gender from the information provided.

I wrote some rough imputation code, based on first names and photos, but some first names might fit both males and females.

Needless to say, I don't speak Suomi. Is there an easy way to impute gender from first names? Did someone bother to do this for MPs from recent parliamentary sessions (35-36)?

I'm asking in relation to this repo, which builds legislative cosponsorship networks from the last two sessions of the Finnish Parliament.

Thanks in advance for any pointers!

travis R

Change travis to use the newly established "language r" mode which is already tested in sorvi at least.

README vs. vigenette

I suggest keeping root folder README minimal, and moving all R code etc. in the vignette. Following the conventions used in the other rOpenGov packages so far (like this: https://github.com/rOpenGov/sorvi). Not critical and can be skipped but if agreed I can do this.

Comparable cosponsorship data?

Dear @jlehtoma,

If I remember correctly, you had a few questions about the kind of data I was collecting on the French Parliament.

I have considerably updated my code and have now collected cosponsor names and details for amendments and bills in both chambers.

Here are some slides.

Please let me know if the same kind of data exist for the Finnish parliament, as some measures are comparable across legislatures :)

Kamu 2.0 17.3

Kansan Muisti will release version 2.0 of the database on March 17. I wonder if this would imply changes to the R interface. To be checked.

Use proper item total counts for API responses

All endpoints have an item limit of 20 items by default. Each endpoint has a specific total item count that is usually more than 20 items. The total count is included in the response meta section, e.g. for /api/v1/member/ meta gives a total count of 432.

meta: {
    limit: 20,
    next: "/api/v1/member/?limit=20&offset=20",
    offset: 0,
    previous: null,
    total_count: 432
}

Now function wrapping the endpoints use hard coded limit parameters, get the limit directly from meta.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.