Build headline pages

headlines(.data, save_as, title = "Headlines", layout = "list")

Arguments

.data

A data frame, data frame extension (e.g. a tibble), or a lazy data frame. Expects the following string columns title (required), description, link, pub_date, and thumbnail.

save_as

A string with the output file name. Either .pdf and .html.

title

A string with the title of the headlines page.

layout

A string with the style layout. Pass "list" or "card".

Value

0

Examples

if (FALSE) { data(sciencegeist) sciencegeist <- utils::head(sciencegeist) headlines(sciencegeist, "sciencegeist.html") }