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

Travis build status

papers

Access online newspapers information.

Installation

You can install the released version of papers Github with:

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

Usage

You can either use get_regions and get_papers to get the latest data or you can use the papers dataset which should include all newspapers worldwide (at least the major ones).

Data

data("papers", package = "papers")
head(papers)

Example

library(papers)

# get the list of regions available
regions <- get_regions()

# get papers from a specific region
(papers <- get_papers(regions, "Belgium"))


news-r/papers documentation built on Feb. 23, 2020, 10:56 p.m.