extract_text: Extracts text from PDFs and stores in folder of choice.

Description Usage Arguments Value Examples

View source: R/extract_text.R

Description

Extracts text from PDFs and stores in folder of choice.

Usage

1
2
extract_text(from, to, number = NULL, method = "pdftools",
  path.pdftotext = NULL)

Arguments

from

Folder with .pdf files.

to

Folder with .txt files.

number

Number of PDFs you want to apply the function to. Default is "all PDFs in folder".

method

Which method to use. Default is pdftotext.exe.

Value

Takes PDFs in folder "from" and extracts .txt files that are copied into folder "to".

Examples

1
2
3
4
5
## Not run: 
 folder <- "Acemoglu 2001"
 extract_text(folder)

## End(Not run)

paulcbauer/citationsr documentation built on May 3, 2019, 5:47 p.m.