show_samples_list | R Documentation |
It show all samples from a specific GMQL dataset on remote repository, using the proper GMQL web service available on a remote server
show_samples_list(url, datasetName)
url |
string url of server: It must contain the server address and base url; service name is added automatically |
datasetName |
name of dataset containing the samples whose list we like to get; if the dataset is a public dataset, we have to add "public." as prefix, as shown in the example below, otherwise no prefix is needed |
If error occurs, a specific error is printed
List of samples in dataset. Every sample in the list is described by:
id: id of sample
name: name of sample
path: sample repository path
## Login to GMQL REST services suite as guest
remote_url = "http://www.gmql.eu/gmql-rest/"
login_gmql(remote_url)
## This statement shows all samples present into public dataset
## 'Example_Dataset_1'
list <- show_samples_list(remote_url, "public.Example_Dataset_1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.