Skip to content

Ability to search by a specific field #3

@jure

Description

@jure

As discussed in lagotto/alm-report#39, it would be great if one could search the CrossRef API by just a single field in its index. For example, I'd like to get all papers with authors with the last name Heisenberg, by doing something like you can do with the PLOS API:

http://api.plos.org/search?q=author:%22Heisenberg%22

or to get a fuller JSON:

http://api.plos.org/search?facet=false&fl=author,id,pmid,publication_date,received_date,accepted_date,title,cross_published_journal_name,author_display,editor_display,article_type,affiliate,subject,financial_disclosure&fq=!article_type_facet:%22Issue%20Image%22&hl=false&q=author:Heisenberg&rows=25&wt=json

Fields that would be interesting in this regard are:

  • author
  • title
  • journal
  • abstract
  • subject

Ideally, I could even say something like give me all papers where author is Heisenberg and title has "cell" in it. With PLOS's API for example, I'd do this:
http://api.plos.org/search?q=(author:Heisenberg)%20AND%20title:cell

Is there a way to be able to get this result with CrossRef's API? I imagine I'd first have to query all fields:
http://api.crossref.org/works?query=Heisenberg&filter=type:journal-article and then paginate & process the 8000+ results separately, to filter out articles which have "cell" in title?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions