Learn R Programming

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

knitcitations (version 0.4-4)

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,296

Version

0.4-4

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Carl Boettiger

Last Published

March 18th, 2013

Functions in knitcitations (0.4-4)

bib_format

Specify the order in which citation elements should be returned
cite_options

Toggles for various citation options
newbib

Erase existing list of works cited
greycite

greycite citation method
check

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

format for rdfa markup of references
citet

Add a textual citation
format_authoryear_t

format the author and year
create_bibkey

generate bibkeys for unamed bibentry objects
cleanbib

Erase existing list of works cited
bibliography

Generate the bibliography
ref

Lookup article info via CrossRef with DOI.
knitcitations_data

Helper function to get knit data
unique_inline

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

read in bibtex and use key as list names
cite

Add a citation (internal for citet and citep)
authoryear_t

format the author and year
format_authoryear_p

format the author and year parenthetically
write.bibtex

write a bibtex file
print_markdown

print method for markdown format
functiontable

a table of functions in a package
write_cache

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

Convert crossref XML into a bibentry object
numeral

Formatting for numeric inline citations. Needs testing.
citep

Add a paranthetical citation
authoryear_p

format the author and year