Learn R Programming

rfishbase (version 2.1.2)

ping: ping

Description

Check that the FishBase MySQL backend to the API is alos responding

Usage

ping(server = getOption("FISHBASE_API", FISHBASE_API))

Arguments

server

base URL to the FishBase API (by default). For SeaLifeBase, use https://fishbase.ropensci.org/sealifebase

Value

An httr 'response' object.

Examples

Run this code
# NOT RUN {
## Show server response times
resp <- ping()
resp$times

# }

Run the code above in your browser using DataLab