Skip to content

zambujo/headliner

Repository files navigation

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

About

🚧 An R 📦 to publish RSS headlines

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages