| Title: | Fetch literature data from pubmed, google scholar and RSS |
|---|---|
| Description: | Fetch literature data from pubmed and google scholar in a tidyverse way. This package is written under tidyverse frame. |
| Authors: | Miao YU [aut, cre] (ORCID: <https://orcid.org/0000-0002-2804-6014>) |
| Maintainer: | Miao Yu <[email protected]> |
| License: | GPL-2 |
| Version: | 0.1.0 |
| Built: | 2026-10-11 07:50:52 UTC |
| Source: | https://github.com/yufree/scifetch |
Fetch Bibliographies via DOI
doiref(path, style = "apa")doiref(path, style = "apa")
path |
file path |
style |
citaiton style, default apa |
Fetch author's publication from Google Scholar
getgsauthor(id, start = 1, end = 100)getgsauthor(id, start = 1, end = 100)
id |
the google scholar ID to be searched |
start |
begin item |
end |
finish item |
tibble object
## Not run: library(scifetch) id <- "SPNX8oUAAAAJ" z <- getgsauthor(id) ## End(Not run)## Not run: library(scifetch) id <- "SPNX8oUAAAAJ" z <- getgsauthor(id) ## End(Not run)
Fetch xml file from pubmed
getpubmed(query, start = 1, end = 100)getpubmed(query, start = 1, end = 100)
query |
the NCBI Entrez for search |
start |
begin item |
end |
finish item |
xml object
getpubmedtbl
## Not run: library(scifetch) query <- 'janusz pawliszyn[AU]' z <- getpubmed(query) ## End(Not run)## Not run: library(scifetch) query <- 'janusz pawliszyn[AU]' z <- getpubmed(query) ## End(Not run)
Get the basic data from xml
getpubmedtbl(xml2)getpubmedtbl(xml2)
xml2 |
the xml object from getpubmed |
tibble object
getpubmed
## Not run: library(scifetch) query <- 'janusz pawliszyn[AU]' z <- getpubmed(query) z2 <- getpubmedtbl(z) ## End(Not run)## Not run: library(scifetch) query <- 'janusz pawliszyn[AU]' z <- getpubmed(query) z2 <- getpubmedtbl(z) ## End(Not run)
Fetch rss into tibble
getrss(feed)getrss(feed)
feed |
feed address |
tibble object
getpubmed
## Not run: library(scifetch) feed <- 'yihui.name/index.xml' z <- getrss(feed) ## End(Not run)## Not run: library(scifetch) feed <- 'yihui.name/index.xml' z <- getrss(feed) ## End(Not run)