hotboards: Return a data frame with popular boards info

Description Usage Arguments Source Examples

View source: R/ptt-handy.R

Description

hotboards returns a data frame of popular boards (re men kan ban) on PTT.

Usage

1
hotboards(get_new = FALSE)

Arguments

get_new

Logical. Defaults to FALSE. If TRUE, scrapes and retreive data from https://www.ptt.cc/bbs/hotboards.html. If FALSE, use pre-scraped data stored in the package.

Source

https://www.ptt.cc/bbs/hotboards.html

Examples

1
2
3
4
5
df <- hotboards()
head(df)

# Get data update time
attr(df, "date")

liao961120/pttR documentation built on Dec. 16, 2019, 2:19 a.m.