Learn R Programming

neotoma2 (version 1.0.5)

set_server: 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")

Value

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

Arguments

server

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

Examples

Run this code
# \donttest{
# 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")
# }

Run the code above in your browser using DataLab