- fetch_neuroquery(data_dir=None, version='1', overwrite=False, **kwargs)
Download the latest data files from NeuroQuery.
New in version 0.0.10.
url (None or str, optional) – Specific URL to download. If not None, overrides URL to current data. If you want to fetch Neurosynth’s data from before the 2021 reorganization, you will need to use this argument.
kwargs – Keyword arguments to select relevant feature files. Valid kwargs include: source, vocab, type. Each kwarg may be a string or a list of strings. If no kwargs are provided, all feature files for the specified database version will be downloaded.
found_databases – List of dictionaries indicating datasets downloaded. Each list entry is a different database, containing a dictionary with three keys: “coordinates”, “metadata”, and “features”. “coordinates” and “metadata” will be filenames. “features” will be a list of dictionaries, each containing “id”, “vocab”, and “features” keys with associated files.
- Return type
This function was adapted from neurosynth.base.dataset.download().