get_all_posts: Extract list of posts from a board

Description Usage Arguments Value Functions Examples

View source: R/get_all_posts.R

Description

Extract list of posts from a board

Usage

1
2
3
4
5
get_all_posts(board_name, max_post = 1000, list_push = FALSE,
  parallel = TRUE, mc.cores = NULL, ...)

get_all_posts_from_url(post_urls, max_post = 1000, list_push = FALSE,
  parallel = TRUE, mc.cores = NULL, ...)

Arguments

board_name

String PTT board name.

max_post

See get_post_urls().

list_push

If TRUE, push data will be column of list. Default is FALSE.

parallel

If TRUE, the default, will use parallel threads.

mc.cores

Number of parallel cores to use. Default NULL to auto detect.

...

other parameters passed to get_post_urls().

post_urls

Post urls.

Value

data.table

Functions

Examples

1
get_all_posts("Gossiping", max_post = 10)

leoluyi/PTTr documentation built on Aug. 6, 2019, 4:47 a.m.