Closed elynch303 closed 7 months ago
You can put these additional fields as extras
on the person in https://github.com/opencivicdata/scrapers-ca
For example:
For Canada, you should use the OpenParliament API for committees.
To my knowledge, there are no APIs for the provinces, so they can be modelled as extras
, though really these things are not properties of a person, but are their own classes (but, we don't intend to expand the scope of Represent).
committees and associations may not be as much a property of a person but i would argue in this case that roles
make sense have as a top level endpoint similar to offices
. if we are unable to update the scope at this time then putting them in extras
would be fine at this time.
Yes, let’s use extras.
i will separate the work for roles, committees and associations into separate PR's. and i will not duplicate data that can be grabbed from OpenParliament
I would like to add some more data endpoints such as the members roles, Committees, Parliamentary Associations and Interparliamentary Groups
roles = string array
committees = string array
Parliamentary Associations = string array
this data dose appear to be available for most federal and provincial members as you can see here
https://www.ourcommons.ca/Members/en/ziad-aboultaif(89156) https://nslegislature.ca/members/profiles/john-white https://www.ola.org/en/members/all/jill-andrew