README.md

PSAWR

R-CMD-check Codecov test
coverage CRAN
status

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)


Try the PSAWR package in your browser

Any scripts or data that you put into this service are public.

PSAWR documentation built on March 7, 2023, 6:59 p.m.