Get PubMed-IDs of a data frame.

get_pmid(df, col.pmid = PMID, copy = TRUE)

Arguments

df

Data frame containing PubMed-IDs.

col.pmid

Symbol. Column containing PubMed-IDs.

copy

Boolean. If copy = FALSE, get_pmid() returns a character vector, containing PubMed-IDs. If copy = TRUE, get_pmid() copies PubMed-IDs to clipboard.

Value

Copy to clipboard or character vector. If copy = TRUE, get_pmid() copies PubMed-IDs to clipboard. If copy = FALSE, get_pmid() returns a character vector, containing PubMed-IDs.

Details

Get PubMed-IDs of a data frame. get_pmid returns either a character vector, containing PubMed-IDs, or copies PubMed-IDs to clipboard. If PubMed-IDs are copied to the clipboard, they can be used e.g. to search for abstracts on PubMed.

See also