Description Usage Arguments Details Value See Also
View source: R/load_and_save_files.R
Convert PubMed-file from PubMed into a data frame.
1 | read_pubmed(pubmed_file, topic = NULL)
|
pubmed_file |
PubMed-file as .txt, downloaded from PubMed. |
topic |
String. Optional. If provided, adds a "Topic" column containing
|
Convert an PubMed-file from PubMed into a data frame. The PubMed-file should contain PubMed-IDs, abstracts from research articles, abstract title, publication year, abstract language, and article type. The data frame created holds at least six columns, namely
PMID
, containing the PubMed-ID,
Year
, containing the publication year,
Title
, containing the title of the abstracts,
Abstract
, containing the actual abstract,
Language
, containing the language(s) of the paper,
Type
, containing the article type.
If topic
is provided, a "Topic" column is added, assigning all abstracts in
df
to topic
.
read_pubmed()
is faster than read_pubmed_jats()
and thus
recommended.
Data frame containing PubMed-IDs, abstracts, abstract titles, publication years, languages, and article types.
Other external data functions:
read_pubmed_jats()
,
save_excel()
,
save_plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.