spod_cite | R Documentation |
Cite the package and the data
spod_cite(what = "all", format = "all")
what |
Character vector specifying what to cite. Can include "package", "data", "methodology_v1", "methodology_v2", or "all". Default is "all". |
format |
Character vector specifying output format(s). Can include "text", "markdown", "bibtex", or "all". Default is "all". |
Nothing. Prints citation in plain text, markdown, BibTeX, or all formats at once to console.
# Cite everything in all formats
## Not run:
spod_cite()
## End(Not run)
# Cite just the package in BibTeX format
## Not run:
spod_cite(what = "package", format = "bibtex")
## End(Not run)
# Cite both methodologies in plain text
## Not run:
spod_cite(what = c("methodology_v1", "methodology_v2"), format = "text")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.