Looking for statistic maps associated with a set of DOIs in NeuroVault

Summary of what happened:

We have a list of articles (with their DOIs) and would like to check whether the corresponding statistic maps are available on Neurovault.

Command used (and if a helper script was used, a link to the helper script or the command generated):

From Neurovault API’s (API Documentation) it looks like we should be able to directly interrogate the database using: /api/collections/ and adding the doi as parameter.

But when I run the example provided in the documentation page of the API: http://neurovault.org/api/collections/?DOI=10.1016/j.neurobiolaging.2012.11.002 , the answer I get contains a set of 9165 collections from the Neurovault database:

GET /api/collections/?DOI=10.1016/j.neurobiolaging.2012.11.002

HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json ;utf-8
Vary: Accept

{
    "count": 9165,
    "next": "http://neurovault.org/api/collections/?DOI=10.1016%2Fj.neurobiolaging.2012.11.002&limit=100&offset=100",
    "previous": null,
    "results": [
        {
....

I get the same number of collections with http://neurovault.org/api/collections/ (i.e. no filtering on DOI):

GET /api/collections/

HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json ;utf-8
Vary: Accept

{
    "count": 9165,
    "next": "http://neurovault.org/api/collections/?limit=100&offset=100",
    "previous": null,
    "results": [
        {
...

I would be grateful to hear any feedback (sorry if we missed something!) or other solutions we could use to check the NeuroVault database for a given set of DOIs. Thank you!

Must be a regression from the recent upgrade. We’ll see if we can’t get it fixed. In the mean time itll probably be fastest to just get all the results and and filter on the DOI field outside of the api.

1 Like