Learn R Programming

neotoma2 (version 1.0.5)

pingNeotoma: pingNeotoma

Description

A quick function to test whether or not the Neotoma Database API is currently running.

Usage

pingNeotoma(server = "neotoma")

Value

A valid HTTP status code or returns an error if a connection is refused.

Arguments

server

One of localhost:PORT (where PORT is a valid numeric port), neotoma or dev.

Examples

Run this code
{
test_connection <- pingNeotoma("neotoma")
}

Run the code above in your browser using DataLab