tidy_rmd: Tidy rmd file

Description Usage Arguments Value

View source: R/tidy-files.R

Description

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.

Usage

1

Arguments

file

Path to pdf file.

name

Name of the document represented by file.

Value

A tibble with the following columns:


echasnovski/jeroha documentation built on Oct. 9, 2017, 6:45 a.m.