Description Usage Arguments Value
View source: R/scrape-post-helper.R
get_post
returns a data frame with 1 row and 9 cols,
where the column comment
is a list column.
1 |
post_url |
Character. An URL of a PTT post. |
board_col |
Logical. Whether to set board name as a
variable. Defaults to |
A data frame with 1 row and 10 variables:
Author of the post.
Title of the post.
The date of the post.
The content of the post.
A list column.
See get_post_comment
for information
about entries in this list column.
Number of comments.
Number of "Push" comments.
Number of "Boo" comments.
URL of the post with https://www.ptt.cc/bbs/ removed.
One additional variable is optional:
The board the post belongs to. Exist only
if board_col = TRUE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.