ag_get_personnel_studyId: Wrapper for personnel get method

Description Usage Arguments Author(s) Examples

View source: R/method_wrappers.r

Description

wrapper function for objetc$ag_get_personnel_studyId method from AgProjEntity objects.

Usage

1
2
3
4
5
6
7
ag_get_personnel_studyId(
  studyDbId = NULL,
  format = c("json", "list", "data.frame"),
  serverURL = "https://research.cip.cgiar.org/agrofims/api/dev",
  version = "/0233/r",
  ...
)

Arguments

studyDbId

character agronomic study identifier from AGROFIMS database

format

data format: json, list and data.frame

serverURL

URL of the agrofims server

version

version of the call. By default version 0212.

...

additional parameters

Author(s)

Omar Benites

Examples

1
2
3
4
5
6
7
8
## Not run: 
#Get personnel information by studyId (agronomic study ID)
out <- ag_get_personnel_studyId(studyDbId = 6, 
                                 format = "data.frame",
                                 serverURL = "https://research.cip.cgiar.org/agrofims/api/dev", 
                                 version ="/0212/r")

## End(Not run)

AGROFIMS/ragapi documentation built on Nov. 23, 2020, 9:20 a.m.