Write out partial data to a single Markdown file.
Usage
kindle_write_md(
data,
file,
title = NULL,
distinct = TRUE,
drop_na = TRUE,
new_line = TRUE,
time = TRUE
)
Arguments
- data
The data read from
kindle_read()
.- file
The file name to write to, book title is recommended.
- title
String. Provide the
title
of thedata
you want to write out, with support for regular expressions.- distinct
Logical. If
TRUE
, the last record with the samebegin
value will be retained; ifFALSE
, no records will be deleted.- drop_na
Logical. If
TRUE
, drop rows wheretext
column isNA
; ifFALSE
, no records will be deleted.- new_line
Logical. If
TRUE
,\n
which can create a new line.- time
Logical. If
TRUE
, thedatetime
will be add to the end oftext
.