Description Usage Arguments Examples
This function will attempt to discern the structure of each of the tables
in docx
and print this information
1 | docx_describe_tbls(docx)
|
docx |
|
1 2 3 | complx <- read_docx(system.file("examples/complex.docx", package="docxtractr"))
docx_tbl_count(complx)
docx_describe_tbls(complx)
|
[1] 5
Word document [/usr/local/lib/R/site-library/docxtractr/examples/complex.docx]
Table 1
total cells: 16
row count : 4
uniform : likely!
has header : likely! => possibly [This, Is, A, Column]
Table 2
total cells: 12
row count : 4
uniform : likely!
has header : likely! => possibly [Foo, Bar, Baz]
Table 3
total cells: 14
row count : 7
uniform : likely!
has header : likely! => possibly [Foo, Bar]
Table 4
total cells: 11
row count : 4
uniform : unlikely => found differing cell counts (3, 2) across some rows
has header : likely! => possibly [Foo, Bar, Baz]
Table 5
total cells: 21
row count : 7
uniform : likely!
has header : unlikely
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.