-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add option to retrieve 'unchecked' data from BETYdb #52
Comments
@dlebauer Sounds good |
This now works in betydb_query as of c957ca8, but it should be mentioned in the vignette. TODO:
|
|
@sckott Sorry, can you reopen this? Apparently |
@infotroph the design specifications for the BETYdb beta API were to map closely to the database schema itself, without putting too much magic in the API itself. There is a 'bug' that only checked data are available to the public. That will be fixed in the API, then both checked and unchecked data will be returned by default. For the traits package, I think that the simplest method would be to add the following in the first line of if(!exists(include_unchecked){ ## if not specified, return only checked
args <- append(args, checked=1)
} else {
if(!include_unchecked) { ## if include_unchecked == false return only checked
args <- append(args, checked=1)
}
} # else accept default of both checked + unchecked
|
This repository is about to be archived. |
As of BETYdb v 4.4, users are able to access 'unchecked' data.
The ability to query unchecked data from the Web interface and API was implemented in PecanProject/bety#350 and is defined in the section 3.3.1 of the "Data Access" documentation.
This feature will add an new argument
include_unchecked
to thebetydb_*
family of functions. When 'true', it should appendinclude_unchecked=true
to the API call.notes In practice, these data are actively used in research although they have not gone through the QA/QC step of having a researcher or technician independently compare data to their original source. Unchecked data are routinely exported across the distributed network of BETYdb instances, and are used in analyses within the PEcAn project, and are identified as 'unchecked' by the 'checked' field in the traits table having a value of '0' ('-1' indicated failed and '1' indicates checked). The difference between checked = 0 and checked = 1 is that data are given a value of '0' upon entry and '1' after independent review.
The text was updated successfully, but these errors were encountered: