headliner is an R 📦 to publish headlines from RSS data.

Installation

The package is not yet on CRAN.

You can install the development version of headliner from github using:

# install.packages("devtools")
devtools::install_github("zambujo/headliner")

Example

Use this example to publish the contents of a data frame:

library(headliner)
data(sciencegeist)

sciencegeist <- head(sciencegeist, 20)
headlines(sciencegeist, 
          title = "Sciencegeist newest posts", 
          save_as = "headlines.html",
          layout = "card")

sciencegeist <- head(sciencegeist, 20)
headlines(sciencegeist, 
          title = "Sciencegeist newest posts", 
          save_as = "headlines.pdf")