{"id":20388787,"url":"https://github.com/mkearney/rreddit","last_synced_at":"2025-04-12T10:51:14.435Z","repository":{"id":43797068,"uuid":"163386987","full_name":"mkearney/rreddit","owner":"mkearney","description":"𝐫⟋ Get Reddit data","archived":false,"fork":false,"pushed_at":"2019-12-06T01:16:13.000Z","size":100,"stargazers_count":50,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-26T05:41:53.371Z","etag":null,"topics":["mkearney-r-package","pushshift","r","r-package","reddit","reddit-api","rstats","social-media","web-scraping"],"latest_commit_sha":null,"homepage":"https://github.com/mkearney/rreddit","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/mkearney.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":"2018-12-28T08:33:58.000Z","updated_at":"2023-09-08T17:48:39.000Z","dependencies_parsed_at":"2022-08-28T10:12:07.392Z","dependency_job_id":null,"html_url":"https://github.com/mkearney/rreddit","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/mkearney%2Frreddit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkearney%2Frreddit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkearney%2Frreddit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkearney%2Frreddit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkearney","download_url":"https://codeload.github.com/mkearney/rreddit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248557844,"owners_count":21124165,"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":["mkearney-r-package","pushshift","r","r-package","reddit","reddit-api","rstats","social-media","web-scraping"],"created_at":"2024-11-15T03:13:17.854Z","updated_at":"2025-04-12T10:51:14.389Z","avatar_url":"https://github.com/mkearney.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 setup, include = FALSE}\nknitr::opts_chunk$set(echo = TRUE, collapse = TRUE, comment = \"#\u003e\")\n```\n# rreddit\n\n[![Build status](https://travis-ci.org/mkearney/rreddit.svg?branch=master)](https://travis-ci.org/mkearney/rreddit)\n[![CRAN status](https://www.r-pkg.org/badges/version/rreddit)](https://cran.r-project.org/package=rreddit)\n[![Coverage Status](https://codecov.io/gh/mkearney/rreddit/branch/master/graph/badge.svg)](https://codecov.io/gh/mkearney/rreddit?branch=master)\n\n\u003c!--#![Downloads](https://cranlogs.r-pkg.org/badges/rreddit)\n#![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/rreddit)--\u003e\n[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n\n\u003e A package for getting lots of [Reddit](https://reddit.com) data.\n\n## Installation\n\nInstall the development version from Github with:\n\n``` r\n## install remotes pkg if not already\nif (!requireNamespace(\"remotes\")) {\n  install.packages(\"remotes\")\n}\n\n## install from github\nremotes::install_github(\"mkearney/rreddit\")\n```\n\n## Use\n\nAn example of posts collected from the [r/dataisbeautiful](https://reddit.com/r/dataisbeautiful) subreddit\n\n```{r, eval = FALSE}\n## get up to 100,000 of the most recent posts made to /r/dataisbeautiful\nd \u003c- get_r_reddit(\"dataisbeautiful\", n = 100000)\n\n## aggregate by month and plot the time series\nrtweet::ts_plot(dplyr::select(d, created_at = created_utc), \"months\", trim = 1) +\n  tfse::theme_mwk(base_size = 12) +\n  ggplot2::ylim(0, NA) +\n  ggplot2::labs(\n    x = NULL,\n    y = NULL,\n    title = \"Activity on `r/dataisbeautiful` subreddit\",\n    subtitle = \"Monthly number of submissions on r/dataisbeautiful\"\n  )\n```\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"tools/readme/dataisbeautiful.png\" width=700 /\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkearney%2Frreddit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkearney%2Frreddit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkearney%2Frreddit/lists"}