Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guidance (or defining an extra table) for providing measurements #358

Open
peterdesmet opened this issue Oct 12, 2023 · 4 comments
Open
Assignees
Milestone

Comments

@peterdesmet
Copy link
Member

I've heard of a number of use cases that want to provide more detailed measurements, such as:

There are two ways to do this:

  1. Provide this information in deploymentTags, observationTags as pipe-delimited key:value pairs. Note there is no mediaTags and that it might be hard to parse that information.
  2. Provide this information in a custom table (Camtrap DP allows this, see e.g. this embedded json table). Such custom table would have their own Table Schema to define the fields and a related identifier to the deployment, media, or observation.

The second option is better from a machine-readability perspective, since the data can be provided in a neatly tabular format. The drawback of a custom table is that measurements provided in one Camtrap DP dataset are likely going not going to be interoperable with measurements from another dataset. It might therefore be good to add a 4th table for measurements. We could adopt the OBIS Extended Measurement Or Fact extension. It structures measurements as rows, not as columns, meaning that Camtrap DP doesn't have to define the types of measurements, just the structure to provide measurements.

In any case, I think it would be useful to provide guidance on how to provide measurements in the FAQ, as it is a common use case.

@dhobern
Copy link

dhobern commented Oct 12, 2023

Thanks @peterdesmet - this is great. Simple guidance or pointers should help many people.

@kbubnicki
Copy link
Contributor

A generic solution for recording different types of measurements, as suggested above by @peterdesmet, would be really cool I think!

The FAQ (#329) is critically needed for a wide adoption of Camtrap DP. It would be great to have somebody willing to contribute and help with this!

@dhobern: here is a small example of how one can use the custom-table-approach (based on some measurements by PhenoCams): https://gist.github.com/kbubnicki/4cbb41e3ecc7c5c4290417bf91e88d92

@dhobern
Copy link

dhobern commented Oct 12, 2023

Thanks @kbubnicki - that's useful.

@ben-norton
Copy link
Member

@kbubnicki You can put some structure around the measurements table based on the type of measurement.
See https://bioportal.bioontology.org/ontologies/OBOE/?p=summary

@peterdesmet peterdesmet moved this to Review in Camtrap DP v1.1 Dec 10, 2024
@peterdesmet peterdesmet moved this from Review to Consider? in Camtrap DP v1.1 Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Consider?
Development

No branches or pull requests

5 participants