Learn R Programming

contentanalysis (version 0.2.1)

get_example_paper: Get path to example paper

Description

Returns the path to the example paper included in the package source (available on GitHub but not in CRAN builds).

Usage

get_example_paper(example = "example_paper.pdf")

Value

Path to example file if it exists, otherwise downloads it from GitHub

Arguments

example

Character string. Name of example file (default: "example_paper.pdf")

Examples

Run this code
if (FALSE) {
paper_path <- get_example_paper()
doc <- pdf2txt_auto(paper_path, n_columns = 2)
}

Run the code above in your browser using DataLab