Climate CAFÉ Code-sharing Walkthrough#

“I am uploading a dataset to Dataverse and would like to share the code I used to generate that dataset. How do I share my code through CAFÉ?”

Option 1: Dataverse Only#

If the code you want to share is relevant only for the specific dataset you are uploading to dataverse, and you are not yet comfortable using GitHub and the git repository infrastructure, you can simply share your code directly within Dataverse. While we do recommend the use of GitHub for open code sharing, we do not want researchers’ comfort level with GitHub to be a barrier code sharing.

To share code directly within Dataverse, simply include your code files alongside the data files when adding your new Dataverse entry (see https://climate-cafe.github.io/tutorial.html).

Option 3: Personal GitHub, Linked to Dataverse & DM Website#

In some cases, your analysis code may be relevant for more than just explaining and reproducing the pipeline for generating your specific dataset. For example, your analysis workflow might offer a useful demonstration of a particular method that other researchers could generalize for their own purposes.

If you anticipate that your shared code could be useful as a walkthrough, or even a kind of tutorial, we can link to your repository from our Climate CAFÉ Github Organization landing page. This landing page contains links to the current tutorials and code walkthroughs that the CAFÉ team has developed for researchers to use as resources. Some of those tutorials are associated with particular datasets, but the analyses they demonstrate are intended to stand on their own as general examples. We hope to expand this page to include community-generated tutorials and walkthroughs, so your code could become part of that expansion!

Please contact us if you are interested in having your code linked on the Climate CAFÉ Github Organization landing page. Note that your code must be shared using a GitHub repository to use this option, and you should still plan to link between your GitHub repository and the corresponding Dataverse entry directly as well.

Option 4: Climate CAFÉ Organizational GitHub (requires ongoing collaboration)#

Finally, if your code is part of a project or demonstration that extends beyond your personal or organizational work, and you would like for it to be published directly under the Climate CAFÉ organizational title, we can help you share your code through the Climate CAFÉ Organizational GitHub. This option will require a collaborative worfklow between you and the CAFÉ Data Management team, including adding you as a contributor to our GitHub organization and managing user permissions. As such, this option is most suitable for collaborators who maintain an active, ongoing role in the Climate CAFÉ’s Community of Practice.