item_list_children {sbtools} | R Documentation |
Return IDs for all child items
Description
Returns a list of child IDs for a ScienceBase item
Usage
item_list_children(sb_id, fields = c("id", "title"), ..., limit = 20)
Arguments
sb_id |
An |
fields |
A character vector of requested data fields. Defaults to 'id' and 'title'. Full list of possible fields is available online in SB documentation. |
... |
Additional parameters are passed on to |
limit |
Max children returned. |
Value
List of sbitem
for each child item.
Examples
## Not run:
item_list_children(user_id())
## End(Not run)
item_list_children(as.sbitem('5060b03ae4b00fc20c4f3c8b'))
item_list_children(item_get('5060b03ae4b00fc20c4f3c8b'))
[Package sbtools version 1.3.2 Index]