Create BrAPI Connection
createBrAPIConnection.Rd
Create a BrAPI connection to the specified host
Usage
createBrAPIConnection(
host = NULL,
protocol = "https",
path = "/brapi/",
version = "v2",
is_breedbase = FALSE
)
Arguments
- host
The BrAPI server hostname
- protocol
(optional) the HTTP protocol (either 'http' or 'https') (DEFAULT: https)
- path
(optional) the base path to the BrAPI endpoints (without the version) (DEFAULT: /brapi/)
- version
(optional) the BrAPI version to use (DEFAULT: v2)
- is_breedbase
(optional) set to TRUE if the connection is to a breedbase instance (DEFAULT: FALSE)