Description Usage Arguments Author(s) Examples
View source: R/projenty_metadata.R
Transform an API table to Excel table format
set and modify databases attributes by AgroFIMS label in order to export the fieldbook file
1 | convert_to_xlsx_projentity(.data, meta_dbattributes = NULL)
|
.data |
data.frame table with |
meta_dbattributes |
metadata attributes and labels in AgroFIMS |
Omar Benites
1 2 3 4 5 6 7 8 9 | ## Not run:
.data <- ag_get_projentity_studyId(studyDbId = 28,format = "data.frame",
serverURL = "https://research.cip.cgiar.org/agrofims/api/dev",
version ="/0212/r")
.data <- .replace_other_attribute_projentity(.data, "fundAgencyTypeId", "fundAgencyTypeOther")
.data <- clean_projentity(.data)
.data <- convert_to_xlsx_projentity(.data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.