query_item_identifier | R Documentation |
Find all items under a scheme or also query by for a specific type and key
query_item_identifier(scheme, type = NULL, key = NULL, ..., limit = 20)
scheme |
The identifier scheme |
type |
(optional) The identifier type |
key |
(optional) The identifier key |
... |
Additional parameters are passed on to |
limit |
Max number of matching items to return |
The SB item id for the matching item. NULL if no matching item found.
## Not run:
authenticate_sb()
ex_item = item_create(title='identifier example')
item_update_identifier(ex_item, 'project1', 'dataset1', 'key1')
ex2_item = item_create(title='identifier example 2')
item_update_identifier(ex2_item, 'project1', 'dataset1', 'key2')
#query the specific item
query_item_identifier('project1', 'dataset1', 'key1')
#or get the collection of items based on the ID hierarchy
query_item_identifier('project1')
item_rm(ex_item)
item_rm(ex2_item)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.