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 (
nimare.dataset.Dataset) – A Dataset object where IDs are in the form PMID-EXPIDemail (
str) – Email address to use to call the PubMed API
- Returns
dataset (
nimare.dataset.Dataset)
Warning
This function assumes that the dataset uses identifiers in the format [PMID-EXPID]. Thus, the
study_idcolumn of thenimare.dataset.Dataset.textsDataFrame should correspond to PMID.