View source: R/update_citation.R
update_citation | R Documentation |
Create a citation *.cff file for the released dataset from a given DOI(Digital Object Identifier). It adds the DOI badge to the README RMarkdown file and re-build the README.md and pkgdown website if exists.
update_citation(doi)
doi |
DOI(Digital Object Identifier), e.g., 10.5281/zenodo.11185699 |
NULL. A citation .cff file is written under the root directory.
## Not run:
update_citation(doi = "10.5281/zenodo.11185699")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.