Convert Neurovault results output to a data.frame

results_to_df(results)

Arguments

results

Results list from the content of a nv command

Value

A data.frame of the output

Examples

res = nv_collection(doi = "10.1016/j.neurobiolaging.2012.11.002")
#> GET command is:
#> Response [https://neurovault.org/api/collections/?DOI=10.1016%2Fj.neurobiolaging.2012.11.002] #> Date: 2020-03-18 16:22 #> Status: 200 #> Content-Type: application/json; charset=utf-8 #> Size: 3.47 kB #>
results = res$content$results df = results_to_df(results)