Researchers ought to check the data sharing policies in the instructions for authors at the journal they are submitting to. Some journals have explicit mandates that require data sharing or data sharing statements. A quick view of the BMJ Open data sharing policy can be see below.