hasadna / knesset-data

APIs and documentation to allow getting data from the Israeli Parliament (Knesset)
MIT License
10 stars 12 forks source link

should provide legislature data - law proposals / bills #127

Open OriHoch opened 7 years ago

OriHoch commented 7 years ago

Knesset data project should provide details about law proposals

specifically this means:

original request

אני מנסה לאסוף נתונים על הצעות חוק שעלו בכנסת בעשור האחרון (הן הצעות חוק פרטיות, ממשלתיות או "רגילות"). ראיתי שאתר הכנסת פרסם לא מזמן מאגר חדש, שנקרא "מאגר החקיקה הממשלתי" ובו אפשר לגשת לכל (או לפחות לרוב) הצעות החוק בכל הכנסות בתולדות המדינה. העניין הוא שאין אפשרות להוריד כמות גדולה של הצעות חוק, אלא רק לסקור אותן אחת-אחת. בגלל שאני רוצה לסקור כמה אלפים של הצעות חוק שעלו, זה יוצר בעיה עבורי.

לכן, השאלה שלי היא האם בסדנא לידע ציבורי עבדתם בעבר עם מאגר החקיקה? או יותר ספציפית – האם יש לכם את המאגר, גישה למאגר או כלים לגשת אליו? אני מנסה כרגע לעבוד עם חבר על יצירת אלגוריתם שרץ ואוסף את הצעות החוק, אבל זה עדיין מסורבל יחסית.

בגדול, כאמור, המטרה הראשונית שלי היא לאסוף את כל הצעות החוק שעלו לדיון בעשור האחרון. המידע נמצא במאגר, הוא פשוט לא נגיש בכמות גדולה.
alonisser commented 7 years ago

@OriHoch old api is useless for this, missing data, and unsyncd with מאגר החקיקה הAPI החדש תומך בזה, רק צריך את הזמן לבנות סקרייפר חדש שיטפל בזה אם תוכל להפנות אותי למי שכתב את הבקשה אפשר להפנות אותו ל API החדש

OriHoch commented 7 years ago

expected outcome from this issue

OriHoch commented 7 years ago

see also #135 for voting data - which should be related to the legislature data

OriHoch commented 7 years ago

see the other referenced issues above from Open-Knesset - they are bugs in Open Knesset which are currently on hold until we get the data from the new API

this makes this issue extremely high priority..

MosheKO commented 7 years ago

I work on it 👍

TomRaz commented 7 years ago

Working on it

oranoran commented 6 years ago

Can someone provide more guidance and details on what actually needs to be done here? The current code (bills.py) already has a Bill class that seems to be based on the new Bills API as described in http://knesset.gov.il/Odata/ParliamentInfo.svc/$metadata.

OriHoch commented 6 years ago

hi @oranoran the latest knesset scraping code is now here. It works with new bills API - as well as all the other data from the new APIs

some of the comments in this issue are a bit old and might be less relevant, but the original request from the issue description is still relevant and there are many people which have similar needs

we should provide the bills data in easy to use way, this is still not done

if you want to help making that happen, I suggest you start with installing the knesset-data-pipelines project and start looking at the bills pipeline