Description Usage Arguments Value
This function returns the first DOI from the first page of a given PDF file. It uses 'pdftools::pdf_text' to convert the first page of the PDF to text. The PDF must contain readable text.
1 | pdf_extract_doi(path)
|
path |
Path specifying a PDF file from which the DOI should be extracted |
Character string with matched DOI, or NA if no DOI found
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.