Skip to contents

Calls the CKAN package_show verb. The returned list contains title, notes, resources, etc. - resources are the individual downloadable files in the package.

Usage

morie_ingest_ckan_package_show(
  portal,
  package_id,
  api_key = NULL,
  user_agent = .MORIE_CKAN_DEFAULT_UA,
  timeout = .MORIE_CKAN_DEFAULT_TIMEOUT
)

Arguments

portal

Base URL of the CKAN portal.

package_id

Package id or slug, e.g. "canadian-postsecondary-alcohol-and-drug-use-survey".

api_key

Optional CKAN API key.

user_agent

User-Agent header sent with the request.

timeout

HTTP timeout in seconds.

Value

The package metadata list.