NeotomaDB / Neotoma-API

A Placeholder for the Neotoma API
3 stars 1 forks source link

Include more site data in SampleData #10

Open scottsfarley93 opened 7 years ago

scottsfarley93 commented 7 years ago

Can we modify SmpleData to include more site information? Particularly, it would nice if it could return site name and siteid along with the sample and dataset information.

scottsfarley93 commented 7 years ago

Also, do SampleData elements have unique IDs? Those would be helpful to return as well.

scottsfarley93 commented 7 years ago

Bumping this issue. Right now I need to hit both Datasets and SampleData in order to be able to get information about the locations in which the Samples occur. I know that this seems like a good division of information, but it is not efficient for web consumption. If you're modeling, it makes sense to browse datasets, then dig into the samples. On the web, it is inconvenient to hit both resources, then use a loop to combine the metadata with the sample data. Particularly on big queries (e.g., fagus, picea, pinus) this approach is problematic.

Ideally, I would like the following fields returned with the Sample Data: