Learn R Programming

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

knitcitations (version 0.6-2)

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

Version

0.6-2

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Carl Boettiger

Last Published

May 31st, 2014

Functions in knitcitations (0.6-2)

greycite

greycite citation method
check

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

Toggles for various citation options
format_authoryear_t

format the author and year
bibliography

Generate the bibliography
citet

Add a textual citation
unique_inline

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

Helper function to get knit data
create_bibkey

generate bibkeys for unamed bibentry objects
formatref

Convert crossref XML into a bibentry object
print_rdfa

format for rdfa markup of references
print_html

print method for html format
bib_format

Specify the order in which citation elements should be returned
cleanbib

Erase existing list of works cited
ref

Lookup article info via CrossRef with DOI.
write.bibtex

write a bibtex file
newbib

Erase existing list of works cited
print_markdown

print method for markdown format
write_cache

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

a table of functions in a package
read.bibtex

read in bibtex and use key as list names
numeral

Formatting for numeric inline citations. Needs testing.
kcite

Add a citation
format_authoryear_p

format the author and year parenthetically
citep

Add a paranthetical citation