AgExpSite: ExpSite

Description Format Super class Public fields Active bindings Methods

Description

subclass for representing the experiment-site data. It inherents from AgAPI client class all the basic parameters and methods.

Format

R6 class

Super class

ragapi::AgAPIClient -> AgExpSite

Public fields

user

specifies the user name, defaults to NULL

password

specifies the password, defaults to NULL

user

specifies the user name, defaults to NULL

password

specifies the password, defaults to NULL

authentication

specifies the password, defaults to NULL

token

specifies the password, defaults to NULL

user_agent

specifies the password, defaults to NULL

serverURL

specifies the password, defaults to http://research.cip.cgiar.org/agrofims/api/dev/

version

specifies the version, defaults to 0051

endPoint

specifies the end point value, tableName/method.php

Active bindings

user

specifies the user name, defaults to NULL

password

specifies the password, defaults to NULL

user

specifies the user name, defaults to NULL

password

specifies the password, defaults to NULL

authentication

specifies the password, defaults to NULL

token

specifies the password, defaults to NULL

user_agent

specifies the password, defaults to NULL

serverURL

specifies the password, defaults to http://research.cip.cgiar.org/agrofims/api/dev/

version

specifies the version, defaults to 0051

endPoint

specifies the end point value, tableName/method.php

Methods

Public methods

Inherited methods

Method new()

Usage
AgExpSite$new(
  user = NULL,
  password = NULL,
  authentication = NULL,
  token = NULL,
  user_agent = NULL,
  serverURL,
  version
)

Method ag_get_expsite_studyId()

Usage
AgExpSite$ag_get_expsite_studyId(
  studyDbId = NULL,
  format = c("json", "list", "data.frame"),
  ...
)

Method ag_get_sitedesc_studyId()

Usage
AgExpSite$ag_get_sitedesc_studyId(
  studyDbId = NULL,
  format = c("json", "list", "data.frame"),
  ...
)

Method ag_get_sitedesc_expsiteId()

Usage
AgExpSite$ag_get_sitedesc_expsiteId(
  expsiteDbId = NULL,
  format = c("json", "list", "data.frame"),
  ...
)

Method ag_get_cropsite_studyId()

Usage
AgExpSite$ag_get_cropsite_studyId(
  studyDbId = NULL,
  format = c("json", "list", "data.frame"),
  ...
)

Method ag_get_cropsite_expsiteId()

Usage
AgExpSite$ag_get_cropsite_expsiteId(
  expsiteDbId = NULL,
  format = c("json", "list", "data.frame"),
  ...
)

Method clone()

The objects of this class are cloneable with this method.

Usage
AgExpSite$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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