Ranae Dietzel and Andee Kaplan
R markdown can automatically generate citations and a bibliography. In order to use this feature, you will need to specify a bibliography file using the bibliography metadata field in a YAML metadata section.
---
title: "Sample Document"
output: html_document
bibliography: bibliography.bib
---
Format | File extension |
---|---|
MODS | .mods |
BibLaTeX | .bib |
BibTeX | .bibtex |
RIS | .ris |
EndNote | .enl |
EndNote XML | .xml |
ISI | .wos |
MEDLINE | .medline |
Copac | .copac |
JSON citeproc | .json |
Bibliographies will be placed at the end of the document (unfortunately).
last paragraph...
# References
You can cite specific references from your bibliography inline by specifying the key.
Blah blah [see @doe99, pp. 33-35; also @smith04, ch. 1].
Blah blah [@doe99, pp. 33-35, 38-39].
Blah blah [@smith04; @doe99].
Smith says blah [-@smith04].
@smith04 says blah.
@smith04 [p. 33] says blah.
You can also ensure citations show up in the bibliography, even if you didn’t cite them in your document.
---
nocite: |
@item1, @item2
...
BibTeX is reference management software for formatting lists of references.
@article{kaplan2016interactive,
title={An interactive graphical method for community detection in network data},
author={Kaplan, Andee and Hofmann, Heike and Nordman, Daniel},
journal={Computational Statistics},
pages={1--23},
year={2016},
publisher={Springer Berlin Heidelberg}
}
Add citations and references to your slide deck from Monday.