crawl_urls: Lookup DOIs from publisher URLs

View source: R/crawl_urls.R

crawl_urlsR Documentation

Lookup DOIs from publisher URLs

Description

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

Usage

crawl_urls(urls)

Arguments

url

A vector of strings corresponding to the publisher or other URL for an article that does not contain a doi within the link.

Value

A vector of character strings corresponding to the DOIs.

Examples

## Not run: 
urls <- c('https://www.sciencedirect.com/science/article/pii/S0048969703000068',
         'https://www.cambridge.org/core/journals/aquatic-living-resources/article/differences-in-abiotic-water-conditions-between-fluvial-reaches-and-crayfish-fauna-in-some-northern-rivers-of-the-iberian-peninsula/94940FBD4D49B6E36857CD074DA72FB6',
         'https://www.publish.csiro.au/MF/MF04111')
dois <- crawl_urls(url)

## End(Not run)

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