Ping a CKAN server to test that it's up or down.

Share:

Description

Ping a CKAN server to test that it's up or down.

Usage

1
ping(url = get_default_url(), as = "logical", ...)

Arguments

url

Base url to use. Default: http://data.techno-science.ca. See also ckanr_setup and get_default_url.

as

(character) One of list (default), table, or json. Parsing with table option uses jsonlite::fromJSON(..., simplifyDataFrame = TRUE), which attempts to parse data to data.frame's when possible, so the result can vary from a vector, list or data.frame. (required)

...

Curl args passed on to POST (optional)

Examples

1
2
3
4
5
## Not run: 
ping()
ping(as = "json")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.