Learn R Programming

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

knitcitations (version 0.4-7)

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

Version

0.4-7

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Carl Boettiger

Last Published

May 23rd, 2013

Functions in knitcitations (0.4-7)

cleanbib

Erase existing list of works cited
authoryear_p

format the author and year
check

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

Add a citation (internal for citet and citep)
bib_format

Specify the order in which citation elements should be returned
bibliography

Generate the bibliography
knitcitations_data

Helper function to get knit data
print_rdfa

format for rdfa markup of references
write_cache

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

format the author and year parenthetically
authoryear_t

format the author and year
ref

Lookup article info via CrossRef with DOI.
formatref

Convert crossref XML into a bibentry object
functiontable

a table of functions in a package
cite_options

Toggles for various citation options
newbib

Erase existing list of works cited
write.bibtex

write a bibtex file
greycite

greycite citation method
unique_inline

Helper function to generate a unique inline citation format
numeral

Formatting for numeric inline citations. Needs testing.
citet

Add a textual citation
print_html

print method for html format
read.bibtex

read in bibtex and use key as list names
format_authoryear_t

format the author and year
citep

Add a paranthetical citation
print_markdown

print method for markdown format
create_bibkey

generate bibkeys for unamed bibentry objects