new_ckan_package_stack: ckan_package_stack class

Description Usage Arguments Value Examples

View source: R/ckan_package_stack-class.R

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

1

Arguments

x

A list of ckan_packages.

Value

An object of class ckan_package_class.

Examples

1
2
3
4
5
6
7
## 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)

rgovcan documentation built on June 18, 2021, 5:07 p.m.