new_ckan_resource_stack: ckan_resource_stack class

Description Usage Arguments Value Examples

View source: R/ckan_resource_stack-class.R

Description

The ckan_resource_stack class is a wrapper around the ckan_resource class from ckanr, which allows to stack multiple resources together. It comes with a custom print function.

Usage

1

Arguments

x

A list of ckan_resources.

...

ignored.

Value

An object of class ckan_resource_stack

Examples

1
2
3
4
5
6
7
8
## Not run: 
query_results <- suppressWarnings(ckanr::package_search(q = "dfo",
                                                        rows = 3,
                                                        as = "list"))
query_out <- rgovcan:::new_ckan_package_stack(query_results$results)
Map(govcan_get_resources, query_out)[[1]]

## End(Not run)

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