Replies: 3 comments 8 replies
|
My thoughts:
The observation table would just store info about the specific observation/analysis
|
|
What are your thoughts regarding continuous measurements? Is a sample created for every observation made by a transducer? |
I like Option 1 more than I like Option 2. I think that it would be more difficult to retrieve observations of a specific parameter from a thing if we proceed with Option 2. This is because a sample may have multiple observations (e.g. a water sample may be analyzed for specific conductivity, nitrate, pH, and arsenic). If we proceed with Option 2 and make an endpoint to get observations we would have to
While this could be done with subqueries, those can quickly become slow and inefficient. By proceeding with Option 1 we could just select all observations with the correct thing_id and parameter in one fell swoop, making the queries much simpler. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
https://www.figma.com/board/1ksfxywBgyD8a81nDujNLw/ThingSampleObservation?node-id=0-1&p=f&t=c0y5grAphmrWhiz4-0
Questions
All reactions