View source: R/ckan_resource_stack-class.R
new_ckan_resource_stack | R Documentation |
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.
new_ckan_resource_stack(x = list())
x |
A list of ckan_resources. |
... |
ignored. |
An object of class ckan_resource_stack
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.