Description Usage Arguments Value Examples
View source: R/pubmedscraper.R
PubMedScrapeR is a function that will send keyword queries to PubMed, scrape all abstracts that are returned by the query, and return the most frequently occuring words associated with the keyword. Results are purely composed by words associated with the keyword from published abstracts on PubMed.
1 | PubMedScrapeR(keyword, top_n = 2000, output = NULL, verbose = FALSE)
|
keyword |
a |
top_n |
top frequently occuring words to return |
output |
(optional) directory to output results |
verbose |
provides information about when querying PubMed API |
a list
of data.frames
containing the top_n
most frequently occuring words
found in PubMed abstracts given keyword
1 2 | results <- PubMedScrapeR::PubMedScrapeR(keyword = c("Shan Sabri", "asdfjkj;"), top_n = 2000, verbose = TRUE)
results <- PubMedScrapeR::PubMedScrapeR(keyword = c("Shan Sabri", "asdfjkj;"), top_n = 2000, verbose = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.