clean_projentity: Clean labels in order to export in MS Excel format

Description Usage Arguments Author(s) Examples

View source: R/projenty_metadata.R

Description

Functionality to clean and poolish the AGROFIMS API response.

clean api response attributes by AgroFIMS label in order to export the fieldbook file

Usage

1

Arguments

.data

data.frame table with

Author(s)

Omar Benites

Examples

1
2
3
4
5
6
7
8
## 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)

## End(Not run)

AGROFIMS/ragrofims documentation built on Jan. 23, 2021, 8:40 a.m.