prepare_refs | R Documentation |
prepare_refs
does some last-minute formatting of a data frame created by
bib2df so that it can be formatted nicely to various outputs.
prepare_refs(bib2df_refs, toformat = "plain")
bib2df_refs |
a data frame created by bib2df |
toformat |
what type of output you are ultimately going to want from |
The function is designed to work more generally in the absence of various fields. Assume,
for example, that your data frame has no BOOK
field. The function uses the one_of()
wrapper
to work around this. The "warning" returned by the function is more of a message. This function may be expanded as
I think of more use cases.
print_refs()
does some last-minute formatting to a data frame created by
bib2df so that rendering in R Markdown is a little easier and less code-heavy.
print_refs()
for formatting a .bib
references to various outputs.
prepare_refs(stevepubs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.