This function reverts the action of bind_trait_values. This function separates values that were concatenated so that studies that have multiple observations for a given trait will have seperate row for each observation.

separate_trait_values(data, definitions)

Arguments

data

The trait data frame generated from austraits - see example

definitions

The austraits definitions data frame

Value

trait tibble

Author

Daniel Falster - daniel.falster@unsw.edu.au

Examples

if (FALSE) {
traits <- austraits$traits %>% 
dplyr::filter(dataset_id == "Falster_2005_1")
traits
traits_bind <- bind_trait_values(traits)
separate_trait_values(traits_bind)
}