read_docx: Read in .docx Content

Description Usage Arguments Value Author(s) Examples

View source: R/read_docx.R

Description

Read in the content from a .docx file.

Usage

1
read_docx(file, skip = 0, remove.empty = TRUE, trim = TRUE, ...)

Arguments

file

The path to the .docx file.

skip

The number of lines to skip.

remove.empty

logical. If TRUE empty elements in the vector are removed.

trim

logical. If TRUE the leading/training white space is removed.

...

ignored.

Value

Returns a character vector.

Author(s)

Bryan Goodrich and Tyler Rinker <[email protected]>.

Examples

1
2
3
4
5
6
## Not run: 
url <- "https://github.com/trinker/textreadr/raw/master/inst/docs/Yasmine_Interview_Transcript.docx"
file <- download(url)
(txt <- read_docx(file))

## End(Not run)

textreadr documentation built on Sept. 28, 2018, 5:09 p.m.