Learn R Programming

rcrossref (version 0.3.0)

extract_xpdf: Extract text from a single pdf document.

Description

Extract text from a single pdf document.

Usage

extract_xpdf(path)

Arguments

path
Path to a file

Value

  • An object of class xpdf_char

Details

Download xpdf from http://www.foolabs.com/xpdf/download.html

Examples

Run this code
path <- "~/github/sac/scott/pdfs/ChamberlainEtal2013Ecosphere.pdf"
(res_xpdf <- extract_xpdf(path))
res_xpdf$meta
res_xpdf$data

Run the code above in your browser using DataLab