nimare.extract.download_abstracts

download_abstracts(dataset, email)[source]

Download the abstracts for a list of PubMed IDs.

Uses the BioPython package.

Added in version 0.0.2.

Parameters:
  • dataset (Dataset or Studyset) – A Dataset or Studyset where study IDs correspond to PMIDs.

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

Returns:

  • dataset (Dataset or Studyset)

  • .. warning:: – Passing a Dataset is deprecated and will be removed in a future release. Prefer passing a Studyset.

  • 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