You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a postal code -> coordinate API (probably not free) or dataset (like (here)[https://www.kaggle.com/datasets/billptw/singapore-postal-code-to-latlon])
Use the data.gov.sg electoral boundaries data from here to convert coordinate -> constituency
Manually curate a constituency + MPs dataset, and use that?
A more straightforward way would be to query https://www.parliament.gov.sg/mps/find-mps-in-my-constituency directly (POST, then set SearchKeyword to the postal code), with caching + validation to lessen the load on the original server, but I'm not sure if that breaks the TOS.
At the end of the day this feature probably isn't very important since as you mentioned the functionality already exists, but I think what we could provide is a more modern UI, as well as changing up the annotated debates a bit, like a "This debate mentions your MP!" sort of thing.
Following in the footsteps of https://www.theyworkforyou.com/, could help with the personalised annotated debates as well.
The text was updated successfully, but these errors were encountered: