openaustralia / theyvoteforyou

Making parliamentary voting information accessible, understandable, and easy to use so that you can hold your elected representatives to account.
https://theyvoteforyou.org.au/
Other
135 stars 30 forks source link

Feature Request: API - indicate party for speaker / president roles #1433

Closed theprojectsomething closed 9 months ago

theprojectsomething commented 2 years ago

First off I'd like to say thanks for creating / maintaining such a great resource. I've been a fan of the project for a while but only recently found a good (aka "entirely gimmicky") use for the data / API. Have been having a great time pulling levers.

A minor usability issue: Using the API I've noted the (undocumented?) use of SPK/CWM/PRES/DPRES acronyms for the various roles in the houses. While I appreciate the need for these, they feel a little out of place provided as a substitute for a member's party. E.g. Andrew Wallace's party is listed as SPK, though he is an elected member of the LNP:

{
  "id": 10896,
  "latest_member": {
    "id": 777,
    "name": {
      "first": "Andrew",
      "last": "Wallace"
    },
    "electorate": "Fisher",
    "house": "representatives",
    "party": "SPK"
  },
  ...
}

Given that (in Australia at least) members retain party membership while in Speaker / President roles (the PRES is a voting member), and that there is a temporal element to these roles, is there any way to indicate likewise in the API?

E.g. would it be reasonable to switch their role to another field? For example aph.gov.au includes a positions field for this. Alternatively, given that the roles tend to be accepted later in a member's career (and the fact that party membership isn't as rock solid as it once was), could something like a party_history field be used to indicate a member's party membership throughout their time in office?

Apologies if this has been discussed elsewhere, I had a quick search through the current issues but couldn't find anything.

On a slight aside, I also noted that Mark Coulton is currently incorrectly(??) listed as CWM both in the API and on the website. Though assume this will self-resolve once the role goes up for vote.

Thanks again for all the hard work ~

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because there has been no activity on it for about six months. If you want to keep it open please make a comment and explain why this issue is still relevant. Otherwise it will be automatically closed in a week. Thank you!

theprojectsomething commented 1 year ago

Hi there, still interested in this. Commenting here in hope of a human response :)

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because there has been no activity on it for about six months. If you want to keep it open please make a comment and explain why this issue is still relevant. Otherwise it will be automatically closed in a week. Thank you!

theprojectsomething commented 1 year ago

Seems like this issue tracker isn't intended for non-maintainers. Should I just close this issue @mlandauer?

stale[bot] commented 9 months ago

This issue has been automatically marked as stale because there has been no activity on it for about six months. If you want to keep it open please make a comment and explain why this issue is still relevant. Otherwise it will be automatically closed in a week. Thank you!