Skip to content

should add committee membership data from the new knesset API #10

@OriHoch

Description

@OriHoch

expected outcome

this is only a suggestion, feel free to implement it another way

from knesset_data.dataservice.persons import PersonPosition
for person_position in PersonPosition.get_all():
    peson_position.PersonID
    person_position.CommitteeID
    # all other fields..
    
    # mk = Member of Knesset
    # this method should return the standard member id, like:
    # 901 = איציק שמולי
    person_position.get_mk_id()
    
    # given person_position.CommitteeId
    # fetch and return a dataservice.committees.Committee object
    person_position.get_committee()

relevant documentation and details:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions