Closed fmichonneau closed 8 years ago
Hey @fmichonneau -- I think this is really good, especially as an option. That way the extra time and bigger returned object is not a problem for people wanting "just the IDs please".
Looks awesome. :eyes:
thanks for the feedback!
I changed the output of the functions
studies_find_studies
andstudies_find_trees
. Previously, these functions would only return the OTL identifiers for the studies and or trees that matched the search criteria. It seemed to me that it would be good to have a little more context to these results, so users could know from which studies they are coming from instead of only getting identifiers back. Therefore I added the argumentdetailed
to both functions (set toTRUE
by default) that retrieve the metadata for the studies that match the search to get more context:It's a little slow because we need to fetch the metadata for each study before returning the result, but it seems worth it.
@dwinter, @josephwb do you have any feedback on this?