openml / openml/OpenML

Sorting functionality (API)

Open
#901 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
755
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Also I didn't find any sort functionality in the API, something like:

                  | 
                  v
/api/v1/data/list?order_by=upload_date|asc
/api/v1/data/list?order_by=processing_date|desc
/api/v1/data/list?order_by=version|desc

/api/v1/data/list/order_by/processing_date|desc (OpenML API style)

A full example to show the latest datasets:

/api/v1/data/list/order_by/upload_date|desc/limit/20/offset/1  (OpenML API style)

It would be great if we could execute:

SELECT ... ORDER_BY upload_date DESC ...;

Related issues:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the API data-list endpoint represented by the /api/v1/data/list examples and review related issue #702. Determine how sorting by upload_date, processing_date, and version should work alongside limit and offset; done means the documented request examples return datasets in the requested order.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.