README.md

PTTr

PTTr is a web-based PTT crawler. Instead of data.frame, there are use of data.table class to be convinient for data manipulation.

Installation

PTTr is currently only available on github. Run the following code to install it:

# install.packages("devtools")
devtools::install_github("leoluyi/PTTr")

Get Started

library(data.table)
library(PTTr)

get_post_content("https://www.ptt.cc/bbs/Gossiping/M.1467117389.A.62D.html")
dt <- get_all_posts("Gossiping", max_post = 10)


# get_all_posts("Gossiping", max_post = 10)

To-do



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