ag_get_cropmea_expsiteId: Wrapper for ag_get_cropmea_expsiteId method from AgCropMea...

Description Usage Arguments Author(s) Examples

View source: R/method_wrappers.r

Description

wrapper function for objetc$ag_get_cropmea_expsiteId method from AgCropMea objects.

Usage

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

Arguments

expsiteDbId

character experiment site ID 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
9
## Not run: 
Get crop measurements variables by expsiteDbId (experiment site ID)
library(ragapi)
out <- ag_get_cropmea_expsiteId(expsiteDbId = 6,
                                 format = "data.frame",
                                 serverURL = "https://research.cip.cgiar.org/agrofims/api/dev",
                                 version ="/0248/r")

## End(Not run)

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