knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Access online newspapers information.
You can install the released version of papers Github with:
# install.packages("remotes") remotes::install_github("news-r/papers")
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("papers", package = "papers") head(papers)
library(papers) # get the list of regions available regions <- get_regions() # get papers from a specific region (papers <- get_papers(regions, "Belgium"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.