paperswithcode / paperswithcode-client

API Client for paperswithcode.com
Apache License 2.0
152 stars 21 forks source link

Getting Latest or Query by Date #22

Open M-Chimiste opened 1 year ago

M-Chimiste commented 1 year ago

Hello,

Is it presently possible to query by date or get ordered papers starting with the most current dates? Presently I'm not sure if once can use the client for getting ordered results (though I did see a pull request). Additionally when you do order the results by published date I find that it starts ascending with the first papers being dated I believe in 1951 and the last papers being Null values.

Currently I'm guessing the best way forward is to just keep track of where specific date ranges exist in the paginated results or to download the entire dataset and manipulate it from there. If there is a better way I'm eager to know.

Thanks!

lazydog2 commented 1 year ago

I have a similar or identical question, I'd like to be able to perform a search from the homepage and sort the results by date with the most recent articles appearing at the top of the results. If I interpret #12 correctly, the results used to be sorted by date by default but are now sorted by relevance.