resources: Extract resources information from package queries

Description Usage Arguments Value Author(s) See Also

Description

Get the resources available for datasets stored as data.bundle.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
resources(x, ...)

## Default S3 method:
resources(x, ...)

## S3 method for class 'data.bundle'
resources(x, simplify = TRUE, ...)

## S3 method for class 'data.bundle.list'
resources(x, simplify = TRUE, ...)

Arguments

simplify

Logical value, TRUE to get result as a data.frame, with one dataset per row.

id

Character string with resource id.

Value

resources returns a list of resources lists, or if simplify is true, a data.frame.

Author(s)

Sven E. Templer

See Also

See get_packages for how to obtain package resources.


CologneOpenData/CologneOpenDataAPI.R documentation built on May 6, 2019, 12:28 p.m.