new_ckan_package_stack {rgovcan}R Documentation

ckan_package_stack class

Description

The ckan_package_stack class is a wrapper around the ckan_package class from ckanr, which allows to stack multiple packages together. It comes with a custom print function.

Usage

new_ckan_package_stack(x = list())

Arguments

x

A list of ckan_packages.

Value

An object of class ckan_package_class.

Examples

## Not run: 
query_results <- suppressWarnings(ckanr::package_search(q = "dfo",
                                                        rows = 3,
                                                        as = "list"))
query_out <- rgovcan:::new_ckan_package_stack(query_results$results)

## End(Not run)

[Package rgovcan version 1.0.4 Index]