make_webpages {inlpubs}R Documentation

Create Author and Publication Webpages

Description

Creates a webpage for each author, listing their publications. Each webpage is saved as an R Markdown file.

Usage

make_webpages(authors = NULL, pubs = NULL, destdir = tempdir(), quiet = FALSE)

Arguments

authors

'author' data frame. Contributing authors to the INLPO publications, see authors dataset for data format.

pubs

'pub' data frame. Publications of the INLPO, see pubs dataset for data format.

destdir

'character' string. Destination directory to write files, with tilde-expansion performed. Defaults to a temporary directory.

quiet

'logical' flag. Whether to suppress printing of debugging information.

Value

NULL invisibly.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

destdir <- tempfile("")
make_webpages(
  authors = inlpubs::authors,
  pubs = inlpubs::pubs,
  destdir = destdir,
  quiet = TRUE
)

unlink(destdir, recursive = TRUE)

[Package inlpubs version 1.1.3 Index]