'Pushshift' API Wrapper for 'Reddit' Submission and Comment Search

Connects to the API of < https://pushshift.io/> to search for 'Reddit' comments and submissions.


PSAWR

R-CMD-check Codecov testcoverage CRANstatus

PSAWR is a Pushsift.io API Wrapper written in R for comment/submission search for Reddit.

Installation

You can install the development version of PSAWR like so:

devtools::install_github("schochastics/PSAWR")

Search comments

Get the last 100 comments mentioning dogs in the subreddit cats.

search_coments(q = "dogs", subreddit = "cats", size = 100)

Search subreddits

Get the last 10 submissions mentioning cats in the subreddit dogs.

search_submissions(q="cats", subreddit = "dogs",size = 10)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("PSAWR")

0.1.0 by David Schoch, 4 years ago


https://github.com/schochastics/PSAWR/


Report a bug at https://github.com/schochastics/PSAWR/issues


Browse source code at https://github.com/cran/PSAWR


Authors: David Schoch [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, httr, tibble

Suggests covr, testthat, vcr


See at CRAN