| cloudos.cohort_tables | R Documentation |
Retrieves the list of available database schemas and tables for a cohort.
cloudos.cohort_tables(profilename = "", cohort_id = "")
profilename |
Character. Name of the configured profile to use. If empty or NULL, uses the default profile. |
cohort_id |
Character. ID of the cohort to query schemas for. |
List with schema information including databases, tables, and columns.
## Not run:
# Get available schemas for a cohort
schemas <- cloudos.cohort_tables(
profilename = "production",
cohort_id = "your-cohort-id"
)
# Display databases
cat("Available databases:\n")
for (db in schemas) {
cat(" -", db$database, "\n")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.