Learn R Programming

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

knitcitations (version 0.6-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.6-0

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Carl Boettiger

Last Published

May 29th, 2014

Functions in knitcitations (0.6-0)

functiontable

a table of functions in a package
authoryear_p

format the author and year
bib_format

Specify the order in which citation elements should be returned
bibliography

Generate the bibliography
create_bibkey

generate bibkeys for unamed bibentry objects
citep

Add a paranthetical citation
greycite

greycite citation method
read.bibtex

read in bibtex and use key as list names
citet

Add a textual citation
format_authoryear_t

format the author and year
write.bibtex

write a bibtex file
kcite

Add a citation
knitcitations_data

Helper function to get knit data
newbib

Erase existing list of works cited
write_cache

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

format the author and year parenthetically
print_markdown

print method for markdown format
numeral

Formatting for numeric inline citations. Needs testing.
print_rdfa

format for rdfa markup of references
check

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

Lookup article info via CrossRef with DOI.
unique_inline

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

format the author and year
print_html

print method for html format
formatref

Convert crossref XML into a bibentry object
cite_options

Toggles for various citation options
cleanbib

Erase existing list of works cited