{"id":22966353,"url":"https://github.com/favstats/allsider","last_synced_at":"2025-10-08T08:15:51.806Z","repository":{"id":108349442,"uuid":"215818133","full_name":"favstats/AllSideR","owner":"favstats","description":"Media Bias Ratings from AllSides.com","archived":false,"fork":false,"pushed_at":"2019-10-18T00:02:47.000Z","size":237,"stargazers_count":24,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-13T09:45:14.973Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/favstats.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-17T14:51:06.000Z","updated_at":"2025-06-04T14:15:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2ec7a84-2d73-4ca6-8fc5-93b4431280f7","html_url":"https://github.com/favstats/AllSideR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/favstats/AllSideR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/favstats%2FAllSideR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/favstats%2FAllSideR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/favstats%2FAllSideR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/favstats%2FAllSideR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/favstats","download_url":"https://codeload.github.com/favstats/AllSideR/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/favstats%2FAllSideR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278909865,"owners_count":26066929,"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-10-08T02:00:06.501Z","response_time":56,"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-12-14T20:42:49.752Z","updated_at":"2025-10-08T08:15:51.786Z","avatar_url":"https://github.com/favstats.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\nLatest Data Update: 2019-10-18\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  message = F,\n  warning = F,\n  fig.width = 8,\n  fig.height = 8\n)\n\nlibrary(tidyverse)\n\n```\n\n# AllSideR\n\n\u003c!-- badges: start --\u003e\n\u003c!-- badges: end --\u003e\n\nThe goal of AllSideR is to provide you with the [AllSides.com](https://www.allsides.com/media-bias/media-bias-ratings) Media Bias rating dataset.\n\nFrom AllSides.com:\n\n\u003e Our Media Bias Ratings are determined using multiple methods and represent the average judgment of Americans. They are based on blind surveys of people across the political spectrum, multi-partisan analysis, editorial reviews, third party data, and tens of thousands of user feedback ratings. Our scientifically-generated ratings are fluid and subject to change as new information is gathered and biases change over time.\n\n![](https://www.allsides.com/sites/default/files/AllSidesMediaBiasChart-Version1.1_0.jpg)\n\nThe dataset looks like this:\n\n\u003c!-- # ```{r} --\u003e\n\u003c!-- # readRDS(\"data/allsides_data.RDS\") %\u003e%  --\u003e\n\u003c!-- #   dplyr::select(news_source, rating, rating_num, type, agree, disagree, perc_agree, dplyr::everything(), -community_feedback) -\u003e allsides_data --\u003e\n\u003c!-- #  --\u003e\n\u003c!-- # tidytemplate::save_it(allsides_data) --\u003e\n\u003c!-- #  --\u003e\n\u003c!-- # readr::write_csv(allsides_data, path = \"data/allsides_data.csv\") --\u003e\n\u003c!-- #  --\u003e\n\u003c!-- # usethis::use_data(allsides_data) --\u003e\n\u003c!-- # ``` --\u003e\n\n+ `news_source`: Rated entity \n+ `rating`: AllSides Rating (left, left-center, center, right-center, right, allsides)\n+ `rating_num`: Same as `rating` but numeric (from left to right, excluding \"allsides\" rating)\n+ `type`: News entity type (can be news media, author or think tank/policy group)\n+ `agree`: Number of people who agree with the rating\n+ `disagree`: Number of people who disagree with the rating\n+ `perc_agree`: Percentage of people who agree with the rating\n+ `url`: URL with more Info\n+ `editorial_review`: Was there an editorial review of the rating? (0/1)\n+ `blind_survey`: Blind survey conducted? (0/1)\n+ `third_party_analysis`: Based on third-party analysis? (0/1)\n+ `independent_research`: Based on ndependent research? (0/1)\n+ `confidence_level`: The confidence of the rating (Low or Initial Rating\t, Medium, High)\n+ `twitter`: URL to Twitter account (when provided)\n+ `wiki`: URL to Wikipedia article (when provided)\n+ `facebook`: URL to Facebook page (when provided)\n+ `screen_name`: Twitter screen name\n\n\n\n## Get Dataset\n\nEither Download data from GitHub Repo like this:\n\n```{r}\nallsides_data \u003c- readr::read_csv(\"https://raw.githubusercontent.com/favstats/AllSideR/master/data/allsides_data.csv\")\n\nallsides_data\n```\n\nOr install package and use it from there:\n\n```{r, eval=F}\ndevtools::install_github(\"favstats/AllSideR\")\n\n## Access dataset from package\nAllSideR::allsides_data\n```\n\n\n\n## Example Plots\n\nHow does rating relate to agreement of the rating?\n\n\n```{r}\nallsides_data %\u003e% \n  ggplot(aes(rating_num, perc_agree*100)) +\n  geom_jitter() +\n  geom_smooth() +\n  labs(x = \"AllSides Media Bias Rating (Left to Right)\", y = \"% Agree\",\n       title = \"AllSides Media Bias Rating X Agreement with Rating\",\n       caption = \"Source: AllSides.com\") +\n  ggrepel::geom_text_repel(data = allsides_data %\u003e% filter(perc_agree*100 \u003e 80, rating_num %in% c(1:5)), \n                           aes(label = news_source)) +\n  theme_minimal()\n```\n\nPeople agree more on the bias of partisan media.\n\n```{r}\nallsides_data %\u003e% \n  mutate(partisan = case_when(\n    rating_num %in% c(2, 4) ~ \"Slightly Partisan\",\n    rating_num %in% c(1, 5) ~ \"Partisan\",\n    rating_num == 3 ~ \"Center\"\n  )) %\u003e% \n  drop_na(partisan) %\u003e% \n  mutate(partisan = fct_relevel(partisan, c(\"Center\", \"Slightly Partisan\", \"Partisan\"))) %\u003e% \n  ggplot(aes(partisan, perc_agree*100)) +\n  geom_jitter(alpha = 0.4)  +\n  geom_violin(alpha = 0.4) +\n  geom_boxplot(width = 0.2)  +\n  labs(x = \"AllSides Media Bias Rating\", y = \"% Agree\",\n       title = \"AllSides Media Bias Rating X Agreement with Rating\",\n       caption = \"Source: AllSides.com\") +\n  theme_minimal()\n```\n\nFinally, let's take a look at the distribution of bias by source `type`.\n\n```{r}\nallsides_data %\u003e%\n  ggplot(aes(rating_num, fill = type)) +\n  geom_density(alpha = .3) +\n  theme_minimal() +\n  theme(legend.position = \"bottom\")  +\n  labs(x = \"AllSides Media Bias Rating (Left to Right)\", y = \"Density\",\n       title = \"AllSides Media Bias Rating\",\n       caption = \"Source: AllSides.com\")  \n```\n\nLack of right-wing media is filled by \"Author\" category. Would be worth investigating.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffavstats%2Fallsider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffavstats%2Fallsider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffavstats%2Fallsider/lists"}