An open API service indexing awesome lists of open source software.

https://github.com/liao961120/pttr

R package for retrieving & preprocessing data from PTT
https://github.com/liao961120/pttr

ptt ptt-crawler r text-mining

Last synced: 3 months ago
JSON representation

R package for retrieving & preprocessing data from PTT

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```

[![Build Status](https://travis-ci.org/liao961120/pttR.svg?branch=master)](https://travis-ci.org/liao961120/pttR)
[![Build status](https://ci.appveyor.com/api/projects/status/2254fc0lc46ufv86/branch/master?svg=true)](https://ci.appveyor.com/project/liao961120/pttr/branch/master)
[![Coverage status](https://codecov.io/gh/liao961120/pttR/branch/master/graph/badge.svg)](https://codecov.io/github/liao961120/pttR?branch=master)
[![Support R Version](https://img.shields.io/badge/R-≥ 3.5.0-blue.svg)](https://cran.r-project.org/)

# pttR

pttR handles most of the dirty works to retrieve data from [**PTT web**](https://www.ptt.cc/bbs/index.html). It convert posts from **PTT web** to a dataframe in R. See the [package website](https://liao961120.github.io/pttR/) for details.

## Installation

You can install pttR from github with:

```{r gh-installation, eval = FALSE}
# install.packages("remotes")
remotes::install_github("liao961120/pttR", ref = "build")
```

## Example

See [vignettes](https://liao961120.github.io/pttR/articles/) for more detail.