How do you make it easier for others to cite your work?
In academic work, we often develop prototypes or make data visualizations available through repositories. One way we make these research artifacts available is through the GitHub platform, which allows us not only to make software, prototypes, or data publicly available, but also to control their versioning.
However, when we write an article and want to reference a GitHub repository, it can be a bit difficult to know how best to reference these repositories. With this in mind, Github has recently created a way to officially support citations to the data or code repository. This new feature, developed by GitHub, allows researchers and academics to inform the community and interested parties on how to properly cite their repositories, especially in scientific articles.
To do so, researchers must add a new file to their repository: CITATION.cff. According to Arfon Smith, a member of the Github team, the information in this file is used to create convenient APA or BibTeX-style citation links that can be referenced by others.
To enable this feature in your repository, you can simply create a file named CITATION.cff in your repository. Use the example below as a template for your file:
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Druskat
given-names: Stephan
orcid: https://orcid.org/0000-0003-4925-7248
title: "My Research Software"
version: 2.0.4
doi: 10.5281/zenodo.1234
date-released: 2021-08-11
You can also use the cffinit website to fill in your citation file information. You can get more information about the cff file format on this page: What is a CITATION.cff file?