pmsoltani / elsametric

0 stars 0 forks source link

Expand the "papers" endpoint to accept more kinds of journal metrics #15

Closed pmsoltani closed 5 years ago

pmsoltani commented 5 years ago

Feature description

Currently the /a/authorID/papers endpoint can accept q1, q2, q3, q4, as values for the metric parameter. It should also accept percentile values (such as p79) and undefined (for papers published in non-ranked sources).

Suggested solution

The function get_author_papers_metric should be changed to accept these new parameters. Care must be taken on the data validations.