bib2annotate: Convert bib entries to annotation entries for R markdown

View source: R/citation.R

bib2annotateR Documentation

Convert bib entries to annotation entries for R markdown

Description

This is a convenience wrapper function for printing full csl-style bibliographic entries in the middle of an R Markdown document.

Usage

bib2annotate(cite_key, bib_file, csl_file = "apa.csl", header_level = "##")

Arguments

cite_key

character vector, a vector of citation keys from a .bib file

bib_file

string, path to .bib file

csl_file

string, name of csl style file, default is apa.csl

header_level

string of hashtags, number of hashtags to set header level, default is "##"

Value

markdown The markdown to be written into the R Markdown document. Use with results="asis"


CrumpLab/crumplabr documentation built on June 29, 2023, 11:25 a.m.