View source: R/opal.datasource.R
opal.attribute_values | R Documentation |
Get a vector of attribute values (for each locale) matching the given attribute namespace and name. Vector is null if no such attribute is found.
opal.attribute_values(attributes, namespace = NULL, name = "label")
attributes |
A list of attributes, usually variable or category attributes. |
namespace |
Optional attribute namespace. |
name |
Required attribute name. |
Other datasource functions:
opal.annotate()
,
opal.annotations()
,
opal.datasource()
,
opal.datasources()
,
opal.table()
,
opal.tables()
,
opal.valueset()
,
opal.variable()
,
opal.variable_summary()
,
opal.variables()
## Not run:
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
var <- opal.variable(o, 'CNSIM', 'CNSIM1', 'GENDER')
opal.attribute_values(var$attributes)
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.