Learn R Programming

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

knitcitations (version 0.3-3)

Citations for knitr markdown files

Description

While traditional Sweave documents can take advantage of LaTeX citation tools, knitr also allows users to combine the much simpler markdown with R code. This package offers citation tools to make up for this. This package will also take advantage of the web-based nature of markdown documents to allow dynamic citations pulled from the web.

Copy Link

Version

Install

install.packages('knitcitations')

Monthly Downloads

1,479

Version

0.3-3

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Carl Boettiger

Last Published

February 7th, 2013

Functions in knitcitations (0.3-3)

cite

Add a citation (internal for citet and citep)
cleanbib

Erase existing list of works cited
newbib

Erase existing list of works cited
functiontable

a table of functions in a package
citet

Add a textual citation
authoryear_t

format the author and year
unique.bibentry

A simple method to determine unique bibentries by bibkey
authoryear_p

format the author and year parenthetically
list_to_bibentry

Helper function to make a list of bibentry objects into a single bibentry object containing multiple entries
uniquebib

Return only unique entries in a list of bibentries
print_rdfa

format for rdfa markup of references
read.bibtex

read in bibtex and use key as list names
write_cache

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

Helper function to get knit data
write.bibtex

write a bibtex file
ref

Lookup article info via CrossRef with DOI.
print_markdown

print method for markdown format
citep

Add a paranthetical citation
bibliography

Generate the bibliography
check

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

Convert crossref XML into a bibentry object
create_bibkey

generate bibkeys for unamed bibentry objects