grover: GroverClient and GroverHost class constructor

View source: R/grover.R

groverR Documentation

GroverClient and GroverHost class constructor

Description

Create a GroverClient or GroverHost class object containing API host information.

Usage

grover(host, port, auth, repository = NULL)

Arguments

host

host address

port

port on which the API is hosted

auth

authentication key

repository

data repository directory path

Examples

## Grover client 
grover_client <- grover(host = "127.0.0.1",
                     port = 8000,
                     auth = "1234")

## Grover host
grover_host <- grover(host = "127.0.0.1",
                     port = 8000,
                     auth = "1234",
                     repository = system.file('repository',
                                               package = 'grover'))

jasenfinch/grover documentation built on Feb. 26, 2023, 11:41 p.m.