mt_pdf_download: Downloads a PDF given a URL

View source: R/mt_pdf_download.R

mt_pdf_downloadR Documentation

Downloads a PDF given a URL

Description

Download the PDF from the URL returned from Unpaywall or CrossRef.

Usage

mt_pdf_download(url, name)

Arguments

url

A PDF URL from Unpaywall or CrossRef, as a string.

name

The name to be given to the file.

Value

Saves the PDF in the specified directory with the specified name.


serghiou/metareadr documentation built on Aug. 21, 2023, 2:33 a.m.