propublica / Capitol-Words

Scraping, parsing and indexing the daily Congressional Record to support phrase search over time, and by legislator and date
BSD 3-Clause "New" or "Revised" License
122 stars 34 forks source link

More explicit sorting documentation #67

Open dvogel opened 10 years ago

dvogel commented 10 years ago

It seems like the sort parameter should be added to the standard arguments section. @drinks, if you can confirm this I will update the docs.

drinks commented 10 years ago

It's missing because the facet queries don't take standard sort params. It should, however, be included in all of the endpoints that support it.

— Dan Drinkard

On Wed, Nov 13, 2013 at 11:39 AM, dvogel notifications@github.com wrote:

It seems like the sort parameter should be added to the standard arguments section. @drinks, if you can confirm this I will update the docs.

Reply to this email directly or view it on GitHub: https://github.com/sunlightlabs/Capitol-Words/issues/67

dvogel commented 10 years ago

The motivating example is from the Codecademy lesson where we tell people to search the text.json endpoint by date but the text.json documentation lacks a list of valid sort values.