As I understand it, in the engineering field, the person who has research money and/or a project that leads to the collection of data, is put on research papers that directly use that data. I guess the most common of this is for PHD students whose advisors funding or project is the reason they have data.
I am curious about when this ends in regards to collaboration. If one person gets a project and funding and collaborates with a different lab/department/professor/researcher and through this, gives a portion of the funding to that person or place, what is the convention for authorship? Does the PI of the project go on all papers that use the data, or only papers they directly do with their own staff/students?