knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

Travis build status AppVeyor build status

hoaxy

Hoaxy visualizes the spread of claims and related fact checking online. A claim may be a fake news article, hoax, rumor, conspiracy theory, satire, or even an accurate report. Anyone can use Hoaxy to explore how claims spread across social media. You can select any matching fact-checking articles to observe how those spread as well.

Installation

# install.packages("remotes")
remotes::install_github("news-r/hoaxy")

Calls

Setup

Create a free account at rapidapi.com to create an API key.

hoaxy_key("xxXXxxXx")

Note that you can specify the RAPIDAPI_API_KEY key as an environment variable in your .Renviron for convenience.

Example

Get fake articles.

library(hoaxy)

(articles <- hx_articles("pizzagate"))

Get tweets on some of said articles.

(tweets <- hx_tweets(articles$id[1:5]))

Get network of tweets on articles.

(edges <- hx_edges(articles$id[1:5]))

plot(edges)



news-r/hoaxy documentation built on June 26, 2019, 8:08 p.m.