terraref / brapi

Breeder's API implementation for TERRA-REF
https://terraref.org/brapi/v1/calls
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Additions to observation unit #27

Closed dlebauer closed 4 years ago

dlebauer commented 5 years ago

need to review and flush out observation unit endpoint

Also — replicate # —> entity_id (in some cases) — operator = traitsview.author (person who collected data)

tcnichol commented 5 years ago

Should I assign this to myself? I implemented the endpoint and this should not be too difficult.

dlebauer commented 5 years ago

yes, please do!

tcnichol commented 5 years ago

https://github.com/terraref/brapi/tree/issue-27/addition-observation-unit

branch for this issue

max-zilla commented 5 years ago

this has been implemented. replicate will be null if unavailable. sample record:

{
observationUnitName: "MAC Field Scanner Season 4 Range 1 Column 1",
observations: [
{
observationDbId: "6002240848",
observationTimeStamp: "2017-07-25T19:00:00Z",
observationVariableDbId: "6000000012",
observationVariableName: "canopy_cover",
season: "MAC Sorghum Season 4",
value: "0"
}
],
observationtreatment: "Pre-plant Nitrogen fertilizer incorporated in the field",
operator: "Zongyang, Li",
replicate: null,
studyDbId: "6000000010",
treatmentDbId: 6000000020
}
max-zilla commented 5 years ago

implemented here: https://github.com/terraref/brapi/pull/33