read_dat | R Documentation |
Read a dat file of 5ch and return a tibble
read_dat(file, br_char = "[br]", encoding = "Shift-JIS")
file |
a string. a path to a dat file. |
br_char |
a string which represents "<br>" (new line) in responses ("res" in Japanese). It is not allowed to use a string which contains "<" and ">". |
encoding |
a string. encoding of a file. |
a tibble. Here is columns of the tibble.
dat_id character. a filename of a dat file.
thread_title character. a title of a thread.
res_number integer. the number of a response.
name character. a name of a response.
mail character. a string of mail form.
datetime character. a datetime which a response is posted.
id character. an id of a response.
be character. a be of a response.
content character. a content of a response.
## Not run: read_dat("foo.dat",br_char="[br]",encoding="Shift-JIS") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.