scrape_bibliography: Attempts to scrape/extract bibliographic data from Web of...

Description Usage Arguments Value Examples

View source: R/scrape_bibliography.R

Description

A not so elegant way to extract bibliographic data of a research article by scraping the contents of Web of Science (WOS). Requires the DOI (digital object identifier) of an article, as well as web access with an institutional subscription to WOS. Note: This function is not suited to extract data for book chapters available on WOS. Current extractions include: a vector of authors (author), publication year (year), article title (title), journal title (journal), journal volume (volume), page numbers (pages), abstract (abstract), number of references (N_references), number of citations (N_citations), journal impact factor (journal_IF), and the year the journal impact factor was released (journal_IF_year). Finally the date of the scrape is also provided (date_scraped). Bulleted abstracts or those with subheadings or subparagraphs will not be extracted properly.

Usage

1
scrape_bibliography(DOI, quiet = FALSE)

Arguments

DOI

A string as the DOI (digital object identifier) of a research article.

quiet

When TRUE, does not print an MLA-style reference of the extracted article.

Value

A list of bibliographic extractions and a timestamp of the scrape.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

# use DOI to scrape number of WOS citations of a research article
data(example_references_metagear)
someRefs <- effort_initialize(example_references_metagear)
theWOSRef <- scrape_bibliography(someRefs$DOI[1])
print(paste("citations = ", theWOSRef$N_citations))


## End(Not run)

metagear documentation built on Feb. 15, 2021, 5:09 p.m.