{"id":16578450,"url":"https://github.com/schochastics/psawr","last_synced_at":"2025-10-29T05:30:43.923Z","repository":{"id":64343795,"uuid":"574208919","full_name":"schochastics/PSAWR","owner":"schochastics","description":"R package to interact with the Pushift.io API","archived":false,"fork":false,"pushed_at":"2023-09-01T17:49:32.000Z","size":616,"stargazers_count":10,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-09T11:33:24.794Z","etag":null,"topics":["reddit","rstats","rstats-package"],"latest_commit_sha":null,"homepage":"https://schochastics.github.io/PSAWR/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schochastics.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-04T18:56:22.000Z","updated_at":"2024-02-13T19:07:36.000Z","dependencies_parsed_at":"2023-01-29T00:45:41.603Z","dependency_job_id":null,"html_url":"https://github.com/schochastics/PSAWR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schochastics%2FPSAWR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schochastics%2FPSAWR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schochastics%2FPSAWR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schochastics%2FPSAWR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schochastics","download_url":"https://codeload.github.com/schochastics/PSAWR/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238777120,"owners_count":19528813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["reddit","rstats","rstats-package"],"created_at":"2024-10-11T22:14:27.975Z","updated_at":"2025-10-29T05:30:38.571Z","avatar_url":"https://github.com/schochastics.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# PSAWR \u003cimg src=\"man/figures/logo.png\" align=\"right\"/\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/schochastics/PSAWR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/schochastics/PSAWR/actions/workflows/R-CMD-check.yaml)\n[![Codecov test coverage](https://codecov.io/gh/schochastics/PSAWR/branch/main/graph/badge.svg)](https://app.codecov.io/gh/schochastics/PSAWR?branch=main)\n[![CRAN status](https://www.r-pkg.org/badges/version/PSAWR)](https://CRAN.R-project.org/package=PSAWR)\n\u003c!-- badges: end --\u003e\n\n`PSAWR` is a **P**ush**s**ift.io **A**PI **W**rapper written in **R** for comment/submission search\nfor Reddit.\n\n**Reddit is revoking the API access of pushshift ([message](https://www.reddit.com/r/modnews/comments/134tjpe/reddit_data_api_update_changes_to_pushshift_access/),2023-05-02)\nonce this is enforced, the package will probably stop working**\n\n## Installation\n\nYou can install the development version of PSAWR like so:\n\n``` r\ndevtools::install_github(\"schochastics/PSAWR\")\n```\n\n## Search comments\n\nGet the last 100 comments mentioning dogs in the subreddit cats.\n```r\nsearch_coments(q = \"dogs\", subreddit = \"cats\", size = 100)\n```\n\n## Search subreddits\nGet the last 10 submissions mentioning cats in the subreddit dogs.\n```r\nsearch_submissions(q=\"cats\", subreddit = \"dogs\",size = 10)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschochastics%2Fpsawr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschochastics%2Fpsawr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschochastics%2Fpsawr/lists"}