Description Usage Arguments Value Examples
Extract all comments from a Word document
1 | docx_extract_all_cmnts(docx, include_text = FALSE)
|
docx |
|
include_text |
if |
data_frame
of comment id, author & text
1 2 3 4 | cmnts <- read_docx(system.file("examples/comments.docx", package="docxtractr"))
docx_cmnt_count(cmnts)
docx_describe_cmnts(cmnts)
docx_extract_all_cmnts(cmnts)
|
[1] 3
Word document [/usr/local/lib/R/site-library/docxtractr/examples/comments.docx]
Found 3 comments.
# A tibble: 1 x 2
author `# Comments`
<chr> <int>
1 boB Rudis 3
# A tibble: 3 x 5
id author date initials
<chr> <chr> <chr> <chr>
1 0 boB Rudis 2016-07-01T21:09:00Z bR
2 1 boB Rudis 2016-07-01T21:09:00Z bR
3 2 boB Rudis 2016-07-01T21:09:00Z bR
# ... with 1 more variables: comment_text <chr>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.