set_server {neotoma2}R Documentation

Set Neotoma API Source or Server

Description

Choose to pull Neotoma data from the main Neotoma server, the development server or from a local instance of the API.

Usage

set_server(server = "neotoma")

Arguments

server

One of local (when the API is running locally on port 3005), neotoma or dev.

Value

NULL modifies how to talk to the API (local, dev, server)

Examples


# The user is running the API locally using the node/express API
# cloned from github: https://github.com/NeotomaDB/api_nodetest
set_server(server = "local")
# The user switches back to the remote api server.
set_server(server = "neotoma")


[Package neotoma2 version 1.0.3 Index]