Data and code for "the what, how and why of trait-based analyses in ecology"