crawl_url: Lookup DOI from publisher URL

View source: R/crawl_urls.R

crawl_urlR Documentation

Lookup DOI from publisher URL

Description

Takes a publisher URL for an article, downloads the page code and extracts the first doi URL (i.e. a URL that contains 'doi.org').

Usage

crawl_url(url)

Arguments

url

A publisher or other URL for an article that does not contain a doi within the link.

Value

A character string corresponding to the DOI.

Examples

## Not run: 
url <- 'https://www.sciencedirect.com/science/article/pii/S0048969703000068'
doi <- crawl_url(url)

## End(Not run)

nealhaddaway/bibfix documentation built on Dec. 24, 2024, 7:43 p.m.