get_resource | R Documentation |
Get data from one or more resources, or all resources within a
package, as a list, with each resource in tabular format. Where field
selection and/or filtering of data is required the get_data
function
can be used.
get_resource(package = NULL, resource = NULL, limit = Inf)
package |
A character vector specifying package ids or names. If the
|
resource |
A character vector specifying resource ids or names. If the
|
limit |
A numeric value specifying the maximum number of rows to be
returned. Default value |
A list containing all the resources within a package, or those specified, as data.frames.
## Not run: get_resource( package = "4dd86111-7326-48c4-8763-8cc4aa190c3e", limit = 5L ) get_resource( package = "4dd86111-7326-48c4-8763-8cc4aa190c3e", resource = "edee9731-daf7-4e0d-b525-e4c1469b8f69", limit = 5L ) get_resource( package = "standard-populations", resource = "European Standard Population", limit = 5L ) get_resource( resource = "European Standard Population", limit = 5L ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.