read_docx: Read in .docx Content

Description Usage Arguments Value Author(s) Examples

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 tyler.rinker@gmail.com.

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 Oct. 9, 2021, 5:06 p.m.