elsevier_pdf_download: Elsevier check

Description Usage Arguments Value Examples

View source: R/elsevier_pdf_download.R

Description

This function uses webscraping techniques to download a PDF file from elsevier's server

Usage

1
elsevier_pdf_download(elsevier_xml_link, filepath)

Arguments

elsevier_xml_link

A character; elsevier link of type xml as returned by crminer's crmlinks() function

filepath

A character; path to desired output location for downloaded PDF

Value

Nothing. Download PDFs to HD

Examples

1
2
3
4
## Not run: 
elsevier_pdf_download('https://api.elsevier.com/content/article/PII:0167198795004585?httpAccept=text/xml','/Users/timothy/Documents/soilc-text_mapping/data')

## End(Not run)

swood-ecology/BibScan documentation built on Sept. 24, 2021, 8:13 p.m.