I want to share both (1) programming codes and (2) datasets related to a research project.
While I know some suitable platforms superficially, I cannot gauge their pros and cons in too much depth because I lack experience. (In addition, many of their "About Us"-pages are not overly informative.) This is what I am aware of:
First, as regards codes, it seems that the best platform would be GitHub. They have a large audience of coders and they inhere a version control system to ensure transparent collaboration.
Second, as regards science-related datasets, it seems that Open Science Framework (OSF), Zenodo, Dryad, and Figshare are among the best options. They assign DOIs, automatically link your profile to ORCID, adhere to highly trusted Open Science principles (e.g. C0PE), and are non-profit community-driven platforms. (I would oppose them to, say, Mendeley Data which belongs to a large commercial publisher.)
Now I wonder the following:
If I want to publish a paper and share both its codes and datasets, what would be the best approach?
(a) Should I split them by sharing the code on GitHub and sharing the datasets on, say, OSF?
(b) Should I share both codes and datasets on one single platform? If so, which criteria could I use before choosing the right platform?