Parse words from rmd file into tidy format. It reads raw file, removes some chunks based on regular expressions and uses tidytext::unnest_tokens() to produce words. Note that regular expressions are design to handle common rmd formatting. On complicated cases it can give undesired output.
Path to pdf file.
Name of the document represented by file.
A tibble with the following columns:
name <int> : Document name.
word <chr> : Word.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.