Description Usage Arguments Value Examples
View source: R/scrape-post-helper.R
get_post_comment
returns a data frame with n
rows and 5 cols, where n is the number of comments
in the post.
1 | get_post_comment(post_xml)
|
post_xml |
|
A data frame with n rows and 5 variables:
tag of the comment, can be one of the 3 values:
Push
corresponds to
"tui",
Boo
corresponds to
"xu", and
Neu
corresponds to
"bu tui bu xu"
ID of the user who left the comment.
The content of the comment.
ip address of the comment.
The comment date time.
1 2 3 4 | #url <- "https://www.ptt.cc/bbs/Gossiping/M.1534415307.A.BE5.html"
#post <- read_html2(url)
#get_post_comment(post)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.