{"id":14067991,"url":"https://github.com/acastroaraujo/rawrr","last_synced_at":"2025-07-30T02:32:37.511Z","repository":{"id":156786290,"uuid":"266949723","full_name":"acastroaraujo/rawrr","owner":"acastroaraujo","description":"reddit api wrapper for R","archived":false,"fork":false,"pushed_at":"2020-08-19T22:04:27.000Z","size":902,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-04T08:36:56.277Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/acastroaraujo.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-05-26T05:09:32.000Z","updated_at":"2022-12-05T21:09:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7c1514c-a86e-4d95-8009-25afd745c488","html_url":"https://github.com/acastroaraujo/rawrr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/acastroaraujo/rawrr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acastroaraujo%2Frawrr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acastroaraujo%2Frawrr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acastroaraujo%2Frawrr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acastroaraujo%2Frawrr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acastroaraujo","download_url":"https://codeload.github.com/acastroaraujo/rawrr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acastroaraujo%2Frawrr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267798625,"owners_count":24145727,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-08-13T07:05:53.179Z","updated_at":"2025-07-30T02:32:37.212Z","avatar_url":"https://github.com/acastroaraujo.png","language":"R","funding_links":[],"categories":["R"],"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# rawrr\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\n```{r, out.width=\"40%\", echo=FALSE}\nknitr::include_graphics(\"man/figures/rawrr.jpg\")\n```\n\nThis package gives you access to Reddit's API in order to gather information on _threads_, _subreddits_, and _users._ \n\nUnder the hood, it calls Python's [__PRAW__](https://praw.readthedocs.io/) library via the [__reticulate__](https://rstudio.github.io/reticulate/) package.\n\nRAWRR stands for __Reddit API Wrapper for R using Reticulate__ ;)\n\n## Installation\n\nYou can install the development version from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"acastroaraujo/rawrr\")\n```\n\nIt currently has these functions:\n\n- `install_praw()`: A simple wrapper for the following:\n\n    `reticulate::py_install(\"praw\", method = \"auto\", conda = \"auto\", pip = TRUE)`\n\n- `init_reddit(username, password, client_id, client_secret)`\n\n- `download_sub_urls()`: Downloads urls by subreddit\n\n- `download_keyword_urls()`: Downloads urls by [search query](https://www.reddit.com/wiki/search)\n\n- `extract_thread()`: Extracts a thread from a path\n\n- `add_threads()`\tAdds thread information to a data frame, like the one produced by the `download_*_urls()` functions\n\n- `create_aff_net()`: Creates a bipartite network of users and recent subreddits from a list of users\n\n- `user_net()`: Creates an edge list (i.e. a network) of user interactions from a data frame, like the one produced by `add_threads()`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facastroaraujo%2Frawrr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facastroaraujo%2Frawrr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facastroaraujo%2Frawrr/lists"}