I’m working on a paper and I realized I do not have an adequate dataset (for reference, this is in a subfield of machine learning), nor do I have the time to personally go and create one. A colleague and friend of mine offered to collect the data and give it to me, as it would be useful as a benchmark for some of his own experiments later.
In this case, “collecting data” means finding and equipping participants with technology to monitor them perform a simple task for a brief amount of time (5 min).
Since this colleague is a personal friend whom I’ve worked with in the past, I have no qualms about listing him as a coauthor (and will most certainly do so, unless it is unethical for some reason). I am curious as to the general case of whether providing someone with an unpublished dataset is insufficient, sufficient or should guarantee coauthorship. I should emphasise that in my field, data is not something that begets the results but rather serves as a test to determine if a proposed technique or algorithm is well-suited to the task outlined by the data.
To put it simply: is providing data enough of a contribution to warrant coauthorship? Would it be unethical to list someone as a coauthor if they only created the dataset?