Package 'scifetch'

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

Help Index


Fetch Bibliographies via DOI

Description

Fetch Bibliographies via DOI

Usage

doiref(path, style = "apa")

Arguments

path

file path

style

citaiton style, default apa


Fetch author's publication from Google Scholar

Description

Fetch author's publication from Google Scholar

Usage

getgsauthor(id, start = 1, end = 100)

Arguments

id

the google scholar ID to be searched

start

begin item

end

finish item

Value

tibble object

Examples

## Not run: 
library(scifetch)
id <- "SPNX8oUAAAAJ"
z <- getgsauthor(id)

## End(Not run)

Fetch xml file from pubmed

Description

Fetch xml file from pubmed

Usage

getpubmed(query, start = 1, end = 100)

Arguments

query

the NCBI Entrez for search

start

begin item

end

finish item

Value

xml object

See Also

getpubmedtbl

Examples

## Not run: 
library(scifetch)
query <- 'janusz pawliszyn[AU]'
z <- getpubmed(query)

## End(Not run)

Get the basic data from xml

Description

Get the basic data from xml

Usage

getpubmedtbl(xml2)

Arguments

xml2

the xml object from getpubmed

Value

tibble object

See Also

getpubmed

Examples

## Not run: 
library(scifetch)
query <- 'janusz pawliszyn[AU]'
z <- getpubmed(query)
z2 <- getpubmedtbl(z)
## End(Not run)

Fetch rss into tibble

Description

Fetch rss into tibble

Usage

getrss(feed)

Arguments

feed

feed address

Value

tibble object

See Also

getpubmed

Examples

## Not run: 
library(scifetch)
feed <- 'yihui.name/index.xml'
z <- getrss(feed)

## End(Not run)