Neurovault Images

nv_images(
  id = NULL,
  verbose = TRUE,
  secure = TRUE,
  limit = 100,
  offset = 0,
  ...
)

Arguments

id

id of the collection

verbose

print diagnostic messages

secure

passed to nv_base_url for https

limit

Limit of number of images to return (only relevant if id = NULL)

offset

where to start (only relevant if id = NULL)

...

additional options to pass to GET

Value

List of the result of the GET call and the content

Note

See https://neurovault.org/api-docs

Examples

images = nv_images(id = 8719)
#> GET command is:
#> Response [https://neurovault.org/api/images/8719/] #> Date: 2020-03-18 16:22 #> Status: 200 #> Content-Type: application/json; charset=utf-8 #> Size: 1.71 kB #>
# same as nv_all_images, but won't loop over all cases images = nv_images(limit = 10, offset = 0)
#> GET command is:
#> Response [https://neurovault.org/api/images/?limit=10&offset=0] #> Date: 2020-03-18 16:22 #> Status: 200 #> Content-Type: application/json; charset=utf-8 #> Size: 17.1 kB #>