Learn R Programming

GNRS (version 0.3.4)

gnrs_core: Handle API access and format

Description

Internal function for handling accessing the API,data formatting, and errors

Usage

gnrs_core(
  url = "https://gnrsapi.xyz/gnrs_api.php",
  mode,
  data_json = NULL,
  batches = NULL
)

Arguments

url

Server URL to use. Defaults to the stable production version

mode

API mode to use. One of "collaborators",

data_json

Either NULL (the default) or properly formatted json

batches

NULL or Numeric. Optional number of batches to divide the request into for parallel processing.