Description Usage Arguments Examples
This function allows you to use the tabulate function of RDS.
1 2 3 |
url |
The base URL of the server RDS is running on |
collection |
The collection ID |
view |
The view ID |
dimensions |
The names of the variables that should be used as dimensions |
inject |
Specifies if metadata should be injected into the data frame. If true and there are classifications available the columns codes will be replaced with code values. Defaults to FALSE |
key |
API key for views that require a key. |
limit |
Specifies the number of records to return |
measures |
The variables that should be used as a measure, will be the count by default |
offset |
Specifies the starting index of the records |
orderby |
Describes how the results should be ordered |
where |
Describes the subset of records the tabulation should run on |
1 2 3 | tabulate("http://localhost:8080/rds/api/catalog/","myCollection","myView",dimensions="var1,var2")
tabulate("http://localhost:8080/rds/api/catalog/","myCollection","myView",dimensions="var1,var2",measures="AVG(var3)")
tabulate("http://localhost:8080/rds/api/catalog/","myCollection","myView",dimensions="var1,var2",measures="AVG(var3)",where="var1!=5",inject=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.