Retrieve Neurovault Collections ID

nv_collection_id(doi = NULL, owner = NULL, name = NULL, verbose = TRUE, ...)

Arguments

doi

Digital Object Identifier (DOI) for the project or collection

owner

owner of the collection

name

name of the collection

verbose

print diagnostic messages

...

additional options to pass to nv_collection

Value

An ID or NULL if not found

Examples

id = nv_collection_id(name = "FeatureX IAPS Test")
#> GET command is:
#> Response [https://neurovault.org/api/collections/?name=FeatureX%20IAPS%20Test] #> Date: 2020-03-18 16:22 #> Status: 200 #> Content-Type: application/json; charset=utf-8 #> Size: 3.04 kB #>
if (FALSE) { id = nv_collection_id(doi = "10.1016/BAD_ID") }