Skip to contents

If now header row is defined in a table, the first row will be used for column names. Specified handling of "table cell" and "paragraph" data types. Others are just passed. Attempts to handle merged cells, but try to avoid.

Inspiration from `https://www.r-bloggers.com/2020/07/how-to-read-and-create-word-documents-in-r/`

Usage

docx2list(path, data.type = "table cell", verbose = FALSE)

Arguments

path

file path

data.type

optional character vector to filter content. Could be "paragraph" or "table cell".

verbose

flag to give a little information on the data

Value

list