How to share code in your research article - Author Services

We use cookies to improve your website experience. To learn about our use of cookies and how you can manage your cookie settings, please see our Cookie Policy. By closing this message, you are consenting to our use of cookies.

How to share code in your research article

Extending our Code Ocean pilot

Want to increase the visibility and impact of the code you develop during your research?

We’re partnering with the research code experts at Code Ocean to make it easier for you to link your journal articles to the associated code. Find out how readers can also run code within the body of your article on Taylor & Francis Online.

Why share your research code?

It’s becoming more common for researchers and developers to share the code they’ve produced. There are many reasons why you should consider doing so, including:

  • Getting credit and citations for a type of research output that often remains behind the scenes
  • Making your research projects more discoverable
  • Building trust in your research by helping to make it transparent and reproducible
  • Enabling other researchers to reuse and build on your code
  • Saving yourself future headaches by preserving your code in a repository.

What is Code Ocean?

Code ocean logoCode Ocean is a web-based interface that allows you to write code in any open-source programming language with any computing resources needed. It provides an easy way to share, discover, and run code. By using Code Ocean you can increase the visibility to your research, as well as:

  • Getting a DOI to receive citations for your code
  • Collaborating with colleagues using different programming languages
  • Enabling others to use your code in the same computational environment as you, without the need for setup and installation.

Our partnership with Code Ocean also allows readers to access and run code directly within your article.

How to embed code within your journal article

  1. When you submit to a participating Taylor & Francis journal, you’ll be asked whether there is code associated with your article. If you confirm that there is, you’ll be emailed a link and details about how to deposit your code with Code Ocean.
  2. Before your article is published online, upload your code to the Code Ocean platform, specifying the appropriate languages and dependencies to create an executable “compute capsule”.
  3. After you submit your code, the Code Ocean team will verify that everything works. The compute capsule will then be assigned a unique Digital Object Identifier (DOI), helping other researchers to cite it easily. Code Ocean capsules can be freely edited, modified, or downloaded by readers for extension and reuse.
  4. On publication of your journal article your code will be embedded within it, enabling readers to view and verify the article’s results.

Piloting Code Ocean on Taylor & Francis Online

This exciting partnership with Code Ocean will help take Taylor & Francis articles to the next level, improving the openness and transparency of the underlying code. The next phase of our pilot begins in early 2021 when we’re rolling this option out across a number of journals that are rich in code – sign up to our Insights alerts to be notified once this is available.

In the meantime

You can start using Code Ocean to share, discover, and run code today. When depositing code which has a previously published article associated with it, please provide the paper’s DOI. This will create a link from Code Ocean to the article on Taylor & Francis Online.

Find out how you can also share your Code Ocean compute capsules when publishing with F1000 Research.

Choose Open Research

Research outputs can take many forms – whether this be an article, code, data, or graphs. At Taylor & Francis we want to help researchers open up all these crucial elements of research, making them transparent and visible. This ensures research results can be verified and reproduced, and that researchers are given credit for all their valuable outputs.

Find out about some of the ways you can open up your research:

Open data and data sharing: Taylor & Francis supports a number of open data initiatives
Registered Reports: Have your study peer reviewed and get an in-principle acceptance before you start collecting your data
Preprints: post your original manuscript to a preprint server before you submit it to a peer reviewed journal
Open Science Badges: icons for your articles when you share data, materials, or preregister


Related Posts

Get familiar with Instructions for Authors

Be prepared, speed up your submission, and make sure nothing is forgotten by understanding a journal’s individual requirements