This repository contains archived data from NeuroVault.org.
The data has been dumped from a subset production database concerned with the "statsmaps" application, and censoring has been performed to remove user related information.
Within the statsmaps subset, the following tables are included:
statmaps_collectionThis is the main table that indexes NeuroVault Collections. Critically theidcolumn is the primary key for the table, and is used to link to other tables (refered to in other tables ascollection_id)statmaps_collection_contributorsAssociation of collections withuser_id
statmaps_basecollectionitemThis is the main table that indexes NeuroVault Collection Items. Critically theidcolumn is the primary key for the table, and is used to link to other tables asbasecollectionitem_ptr_idstatmaps_imageImages are a type of Collection Item. This table contains the image specific information. The columnbasecollectionitem_ptr_idin this table corresponds tostatmaps_basecollectionitem.idstatmaps_statisticmapStatisticMaps are a type of Images, with additional meta-data, such assmoothness_fwhm,cognitive_paradigm_cogatlas_id. The columnimage_ptr_id'in this table corresponds tostatmaps_basecollectionitem.id&statmaps_image.basecollectionitem_ptr_idstatmaps_atlasAtlases are a type of Images, with an additional reference tolabel_description_file. the columnimage_ptr_idrefers tostatmaps_basecollectionitem.id&statmaps_image.basecollectionitem_ptr_id.
statmaps_cognitiveatlastaskMapping ofcog_atlas_id(referenced instatmaps_statisticmap) to task namesstatmaps_cognitiveatlascontrastMapping ofcog_atlas_idreferenced instatmaps_statisticmap) to contrast names
statmaps_collection_communitiesGrouping of collections into "communities".statmaps_communitiesListing of communities. This is specific to two communities, "Developmental Neuroscience" and "Nutritional Neuroscience"
In order to quickly explore the contents of these CSV files, it may be convenient to import them into an SQLite database. The 'create_db.sh' script creates such a database (with the primary and foreign key constraints mentioned above) and fills it. It can be used like this:
tar xzf november_2022.tar.gz
cd november_2022
../create_db.sh
sqlite3 neurovault.sqlite3
Two properties of the data that will silently distort an analysis:
-
The literal string
"None"is a real primary key. It belongs to thestatmaps_cognitiveatlastaskrow named "None / Other". Everycognitive_paradigm_cogatlas_idin the dump joins to that table, with no orphans, so"None"records a genuine user selection rather than a missing value. Pandas' defaultna_valuesconverts it toNaN, merging "the user chose None/Other" with "the user answered nothing" — infebruary_2024that is 301,879 rows versus 75,452. Read withkeep_default_na=Falseand test for blank strings explicitly. -
Owner
5761is the Neuroscout mass-upload account, a bulk push from a separate platform: 3,889 collections and 289,248 statistic maps infebruary_2024, or 51.7% of all maps. Most analyses of user-contributed content should exclude it.
Also note that statmaps_collection.description contains newlines, so line
counts do not equal row counts — use a real CSV parser.
Analyses built on these dumps live in the companion nv-audit repository.