synGetChildren | R Documentation |
Retrieves all of the entities stored within a parent such as folder or project.
synGetChildren(parent, includeTypes=list("folder", "file", "table", "link", "entityview", "dockerrepo"), sortBy = 'NAME', sortDirection = 'ASC')
parent |
An id or an object of a Synapse container or NULL to retrieve all projects |
includeTypes |
Must be a list of entity types (ie. list("folder","file") which can be found here: |
sortBy |
How results should be sorted. Can be 'NAME', or 'CREATED_ON'. |
sortDirection |
The direction of the result sort. Can be 'ASC', or 'DESC' |
An iterator that shows all the children of the container. Use nextElem
or as.list
to access the values.
nextElem
as.list
## Not run:
iterator <- synGetChildren("syn123456", includeTypes = list("file"), sortBy = "CREATED_ON")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.