show_schema: Show dataset schema

Description Usage Arguments Details Value Examples

View source: R/web-services.R

Description

It shows the region attribute schema of a specific GMQL dataset on remote repository, using the proper GMQL web service available on a remote server

Usage

1
show_schema(url, datasetName)

Arguments

url

string url of server: It must contain the server address and base url; service name is added automatically

datasetName

name of dataset to get the schema; 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

Details

If error occurs, a specific error is printed

Value

List of region schema fields. Every field in the list is described by:

Examples

1
2
3
4
5
6
7
8
## Login to GMQL REST services suite as guest

remote_url = "http://www.gmql.eu/gmql-rest/"
login_gmql(remote_url)

## Show schema of public dataset 'Example_Dataset_1'

list <- show_schema(remote_url, "public.Example_Dataset_1")

RGMQL documentation built on Nov. 8, 2020, 5:59 p.m.