extract_metadata: extract_metadata

View source: R/extract_metadata.R

extract_metadataR Documentation

extract_metadata

Description

Extract metadata from a file

Usage

extract_metadata(file, password = NULL, copy = FALSE)

Arguments

file

A character string specifying the path or URL to a PDF file.

password

Optionally, a character string containing a user password to access a secured PDF.

copy

Specifies whether the original local file(s) should be copied to tempdir() before processing. FALSE by default. The argument is ignored if file is URL.

Details

This function extracts metadata from a PDF

Value

A list.

Author(s)

Thomas J. Leeper <thosjleeper@gmail.com>

See Also

extract_tables, extract_areas, extract_text, split_pdf

Examples

## Not run: 
# simple demo file
f <- system.file("examples", "data.pdf", package = "tabulapdf")

extract_metadata(f)

## End(Not run)

leeper/tabulizer documentation built on April 14, 2024, 6:16 a.m.