Description Usage Arguments Value Examples
View source: R/scrape-post-helper.R
get_post_meta
returns a data frame with 1 row
and 4 cols.
1 | get_post_meta(post_xml, board_col = FALSE)
|
post_xml |
|
board_col |
Logical. Whether to set board name as a
variable. Defaults to |
A data frame with 1 row and 4 variables:
Author of the post.
Title of the post.
The date of the post.
1 2 3 4 5 6 | #url <- "https://www.ptt.cc/bbs/Gossiping/M.1534415307.A.BE5.html"
#post_meta <- get_post_meta(read_html2(url))
#post_meta
#attributes(post_meta)$board
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.