nimare.extract.download_abstracts

download_abstracts(dataset, email)[source]

Download the abstracts for a list of PubMed IDs.

Uses the BioPython package.

New in version 0.0.2.

Parameters:
  • dataset (Dataset) – A Dataset object where IDs are in the form PMID-EXPID

  • email (str) – Email address to use to call the PubMed API

Returns:

dataset

Return type:

Dataset

Warning

This function assumes that the dataset uses identifiers in the format [PMID-EXPID]. Thus, the study_id column of the texts DataFrame should correspond to PMID.

Examples using nimare.extract.download_abstracts

Neurosynth and NeuroQuery

Neurosynth and NeuroQuery