ckanr (version 0.7.0)

ckan_info: Get information on a CKAN server

Description

Get information on a CKAN server

Usage

ckan_info(url = get_default_url(), ...)

ckan_version(url = get_default_url(), ...)

Value

for ckan_info a list with many slots with various info. for ckan_version, list of length two, with actual version as character, and another with version converted to numeric (any dots or letters removed)

Arguments

url

Base url to use. Default: https://data.ontario.ca. See also ckanr_setup() and get_default_url(). (required)

...

Curl args passed on to crul::verb-GET (optional)

Examples

Run this code
if (FALSE) {
ckan_info()
ckan_info(servers()[5])

ckan_version(servers()[5])
}

Run the code above in your browser using DataLab