if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# make a view over a resource
opal.resource_view_create(o, "CNSIM", "CNSIM4", resource = "RSRC.CNSIM1")
opal.resource_view_create(o, "CNSIM", "FEMALE_2439",
resource = "RSRC.FEMALE_2439", idColumn = "Name")
opal.logout(o)
}
Run the code above in your browser using DataLab