Description Usage Arguments Author(s) Examples
View source: R/expdetails_metadata.R
Tipically values users fill forms or combos with standarized inputs in AgroFIMS. However, sometimes ontologized inputs are not enough.
For this reason, they select the Other
value in order to fill options that have not been maped in the Agronomic Ontology in AgroFIMS
1 | clean_expdetails(.data, attribute, other_attribute)
|
.data |
data to clean up |
attribute |
attribute of the database. Attribute name from AgroFIMS database where a user input is stored |
other_attribute |
Other attribute name related to |
Omar Benites
1 2 3 4 5 6 7 | ## Not run:
.data <- ag_get_expdetails_studyId(studyDbId = 21,format = "data.frame",
serverURL = "https://research.cip.cgiar.org/agrofims/api/dev",
version ="/0212/r")
.data. <- clean_other_expdetails(.data, "experimentType", "experimentTypeOther")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.