datamade / my-reps

:busts_in_silhouette: Enter your address to find your elected representatives. Powered by the Google Civic Information API
https://myreps.datamade.us
MIT License
69 stars 176 forks source link

Order of Results #7

Open mroswell opened 8 years ago

mroswell commented 8 years ago

I'm finding the order of results to be confusing

Council, District 12 Mayor Sheriff Comptroller State's Attorney Council President

I think a more sensible order would be:

Mayor Comptroller State's Attorney Sheriff Council President Council, District 12

Sample address: 1000 N. Charles St, Baltimore, MD

derekeder commented 8 years ago

This is a good idea, though would be tricky to implement for all the possible permutations of government offices across the entire country.

About the only way I can think of to do this would be to get a list of all possible office types and use it to come up with a general hierarchy. Not impossible, but a bit of an undertaking.

Any ideas @mroswell?

mroswell commented 8 years ago

Even alphabetizing them would've put the Council President next to the Council member. That might be the easiest approach.

derekeder commented 7 years ago

This thread is also being discussed in the Google Civic Info API group: https://groups.google.com/forum/#!topic/google-civicinfo-api/kGuv1QTdN8c

Sounds like they recently updated the returned sort order. Is your issue resolved now @mroswell?

mroswell commented 7 years ago

Just noticed this (while searching my email for another Derek who sent me the ProPublica API key :)

Sorry (and not just for being late to reply)... it's been long enough since the original query in 2016 that I don't remember the context.

On Mon, Feb 13, 2017 at 12:32 PM, Derek Eder notifications@github.com wrote:

This thread is also being discussed in the Google Civic Info API group: https://groups.google.com/forum/#!topic/google-civicinfo-api/kGuv1QTdN8c

Sounds like they recently updated the returned sort order. Is your issue resolved now @mroswell https://github.com/mroswell?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/datamade/my-reps/issues/7#issuecomment-279462627, or mute the thread https://github.com/notifications/unsubscribe-auth/AALwOOPP8PdGDjxVUe0p10_g2tKlJ69bks5rcJOvgaJpZM4JVuTA .