Learn R Programming

⚠️There's a newer version (1.0.12) of this package.Take me there.

knitcitations (version 0.5-0)

Citations for knitr markdown files

Description

knitcitations provides the ability to create dynamic citations in which the bibliographic information is pulled from the web rather than having to be entered into a local database such as bibtex ahead of time. Knitcitations is primarily aimed at authoring in the R markdown format, and can provide outputs for web-based authoring such as linked text and tooltips over inline citations. Cite using a DOI, URL, or bibtex file key. See the package URL for details.

Copy Link

Version

Install

install.packages('knitcitations')

Monthly Downloads

1,479

Version

0.5-0

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Carl Boettiger

Last Published

January 7th, 2014

Functions in knitcitations (0.5-0)

print_html

print method for html format
authoryear_p

format the author and year
cite_options

Toggles for various citation options
knitcitations_data

Helper function to get knit data
authoryear_t

format the author and year
citep

Add a paranthetical citation
numeral

Formatting for numeric inline citations. Needs testing.
cite

Add a citation (internal for citet and citep)
read.bibtex

read in bibtex and use key as list names
formatref

Convert crossref XML into a bibentry object
greycite

greycite citation method
create_bibkey

generate bibkeys for unamed bibentry objects
write_cache

write knitcitations data to a cache object instead of a file
citet

Add a textual citation
bib_format

Specify the order in which citation elements should be returned
functiontable

a table of functions in a package
cleanbib

Erase existing list of works cited
print_rdfa

format for rdfa markup of references
check

check if the element is present before creating a RDFa span tag for it.
write.bibtex

write a bibtex file
format_authoryear_t

format the author and year
ref

Lookup article info via CrossRef with DOI.
print_markdown

print method for markdown format
format_authoryear_p

format the author and year parenthetically
newbib

Erase existing list of works cited
bibliography

Generate the bibliography
unique_inline

Helper function to generate a unique inline citation format (called by cite)