pdf_extract_doi: Extract a DOI from the first page of a PDF file

Description Usage Arguments Value

Description

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.

Usage

1

Arguments

path

Path specifying a PDF file from which the DOI should be extracted

Value

Character string with matched DOI, or NA if no DOI found


edonnachie/bibr documentation built on May 16, 2019, 3:11 p.m.