Title
Value
A list for each event id containing a list with the following elements:
`metadata`: A data frame containing metadata
`taxonomy`: A data.frame containing the taxonomy
`traits`: if flatten_traits is TRUE, a melted data.frame, else a list containing the traits value
IF flatten_all is TRUE, the list is flatten to a data.frame
Examples
r1 <- ppo_data(genus = "Quercus", termID='obo:PPO_0002313', limit=10, timeLimit = 4)
#> sending request for data ...
#> https://biscicol.org/api/v3/download/_search?q=+genus:Quercus++AND+++termID:"obo:PPO_0002313"&limit=10
#> The server is not responding.
#> If the problem persists contact the author.
r1_traits <- ppo_traits(r1, sorted = FALSE)
r1_traits <- ppo_traits_sort(r1_traits)