Clean Kindle file
Arguments
- data
The data read from
kindle_read().- distinct
Logical. If
TRUE, the last record with the samebeginvalue will be retained; ifFALSE, no records will be deleted.- drop_na
Logical. If
TRUE, drop rows wheretextcolumn isNA; ifFALSE, no records will be deleted.- new_line
Logical. If
TRUE,will be replaced by\nwhich can create a new line.- title
String. Provide the
titleof thedatayou want to write out, with support for regular expressions. IfNULL, all of records will be wrote out.
Examples
if (FALSE) {
text <- kindle_read("tests/testthat/My-Clippings.txt")
kindle_clean(text)
}
