Note: In this workshop, we will be focusing on Canadian copyright laws
In both the US and Canada, software code falls under copyright law
Copyright protects only the language and words used to express ideas, concepts and themes, not the ideas, concepts or themes themselves.
In Canada, the copyright owner is afforded the following rights:
Moral rights:
Economic rights can be transferred to entities that are not the author, whereas moral rights cannot (they can however, be waived).
This is a complicated question, and the answer starts with it depends on the case…
You author the code and you are doing this for yourself (i.e., not for your employer, not for a client, etc).
In such a case, you (the person who typed the code) automatically become the copyright owner.
In both Canada and the USA, you do not need to need to affix the copyright symbol © to your work (some other countries do require this however).
Although the copyright symbol © is not required, it is often used in copyrighted works to clearly identify that the code is protected by copyright.
It is possible (and advisable) to register your copyright as evidence that a copyright exists and who the owner is.
In the Canada, software code is defined as “work made in the course of employment” if:
The author of the code was in the employment of some other entity under a contract of service or apprenticeship and the code was written in the course of their employment by that entity.
And there exists no agreement (written, or otherwise, and even potentially even presumed) that the employee retains ownership of copyright for the code written during the term of their employment.
Work made in the course of employment is different than a contract for services (e.g., independent consultant where “work made in the course of employment” would not apply).
In this case, the default position is usually that the contractor retains copyright ownership of the work they create, unless the contract specifically assigns copyright to the client.
Q: What if you forgo copyright ownership and want to use any of the code that you wrote again?
A: You would need to negotiate a license to use the code you wrote, the same way any other third-party would… 😓
To avoid this issue, you could:
Negotiate which code is core to the work (“work-made-for-hire”) and what (pre-built) code (e.g., packages, scripts) are outside the core work (at the beginning of the project!).
Negotiate that the client purchase a license to the code you write (as opposed to hiring you to write the code).
If you publicly share your creative work (i.e., software code), you should let others know if and how they can reuse it!
This is done via the inclusion of a LICENSE
or LICENSE.md
file in the base directory of the repository that clearly states under which license the content is being made available.
Unless you include a license that specifies otherwise, nobody else can copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation.
Once the work has other contributors (each a copyright holder), “nobody” starts including you!
A license solves this problem by granting rights to others (the licensees) that they would otherwise not have.
Important considerations when choosing a license include:
Whether you require people distributing derivative works to also require others to distribute their derivative works in the same way.
Whether the content you are licensing is source code, and if it is, whether you want to require that derivatives of your work share the source code
In practice, a few licenses are by far the most popular.
choosealicense.com will help you find a common license that suits your needs.
💡Tip: Choose a license that is in common use! This makes life easier for contributors and users, because they are more likely to already be familiar with the license and don’t have to wade through a bunch of jargon to decide if they’re ok with it.
But not all my creative Data Science work is code (e.g. visualizations, reports, presentations), so how do I license it?
The Creative Commons licences were created for such works and they are now widely used in academia and the publishing industry.
Source: “How to License Poster” by Creative Commons is licensed under CC BY 4.0
Source: “How to License Poster” by Creative Commons is licensed under CC BY 4.0
Imagine you’re a data scientist and you developed a tool that analyzes satellite imagery to track deforestation patterns. Your goal is to make this tool freely available to researchers to help monitor and combat deforestation, but you still want to get credit for your work.
Imagine you’re a data scientist and you have compiled a data set of climate change projections from various scientific sources. In order to promote further analyses aimed at understanding and mitigating the effects of climate change, you want to share this data set with the research community.