as.ckan_tag: ckan_tag class helpers

Description Usage Arguments Examples

View source: R/as-ckan_tag.R

Description

ckan_tag class helpers

Usage

1
2
3

Arguments

x

Variety of things, character, list, or ckan_tag class object

...

Further args passed on to tag_show if character given

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
ckanr_setup(url = "http://demo.ckan.org/", key = getOption("ckan_demo_key"))

(tags <- tag_search(query = 'ta'))
tags[[3]]

# create item class from only an item ID
as.ckan_tag(tags[[3]]$id)

# gives back itself
(x <- as.ckan_tag(tags[[3]]$id))
as.ckan_tag(x)

## End(Not run)

ckanr documentation built on May 30, 2017, 2:21 a.m.

Search within the ckanr package
Search all R packages, documentation and source code