README.md

headliner

License:
MIT Lifecycle:
maturing Travis build
status R build
status pkgdown knit
README

headliner is a package to publish headlines’ data. In other words, it provides a static generator for headlines. headliner is ideal to quickly publish and distribute RSS feeds, for instance.

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")



zambujo/headliner documentation built on Nov. 12, 2020, 6:35 p.m.