Learn R Programming

knitcitations (version 1.0.12)

bib_metadata: get the full metadata for a citation / bibliographic object

Description

get the full metadata for a citation / bibliographic object

Usage

bib_metadata(x, BibEntry = TRUE, ...)

Arguments

x

a query or citation identifer, as in citep/citet, except that it must be a single query, not a list of multiple queries.

BibEntry

logical. Coerce to RefManageR's BibEntry type?

...

additional arguments to query (see RCrossRef)

Value

a BibEntry (or bibentry, if requested) object with the required citation information.

Details

This function is called internally by citet and citep, but is also made available in the namespace for a user wanting to return the full citation object directly.