gnrs_core: Handle API access and format

Description Usage Arguments

View source: R/gnrs_core.R

Description

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

Usage

1
2
3
4
5
6
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.


GNRS documentation built on Oct. 14, 2021, 1:09 a.m.