Read in the content from a .docx file.
read_docx(file, skip = 0, remove.empty = TRUE, trim = TRUE, ...)
The path to the .docx file.
The number of lines to skip.
logical. If TRUE
empty elements in the vector are
removed.
logical. If TRUE
the leading/training white space is
removed.
ignored.
Returns a character vector.
# NOT RUN {
url <- "https://github.com/trinker/textreadr/raw/master/inst/docs/Yasmine_Interview_Transcript.docx"
file <- download(url)
(txt <- read_docx(file))
# }
Run the code above in your browser using DataLab