| omophub-package | R Documentation |
Provides an R interface to the OMOPHub API for accessing OHDSI ATHENA standardized medical vocabularies. Supports concept search, vocabulary exploration, hierarchy navigation, relationship queries, and concept mappings with automatic pagination and rate limiting.
Provides an R interface to the OMOPHub API for accessing OHDSI ATHENA standardized medical vocabularies. Supports concept search, vocabulary exploration, hierarchy navigation, relationship queries, and concept mappings with automatic pagination and rate limiting.
The main entry point is the OMOPHubClient R6 class which provides access to all API resources:
library(omophub)
client <- OMOPHubClient$new()
# Search for concepts
results <- client$search$basic("diabetes")
# Get a specific concept
concept <- client$concepts$get(201826)
Set your API key using one of these methods:
Environment variable: OMOPHUB_API_KEY
Explicit argument: OMOPHubClient$new(api_key = "your_key")
Keyring: set_api_key("your_key", store = "keyring")
The client provides access to these resources:
concepts: Concept lookup and batch operations
search: Basic and advanced concept search
vocabularies: Vocabulary listing and details
domains: Domain listing and concept filtering
hierarchy: Ancestor and descendant navigation
relationships: Concept relationships
mappings: Concept mappings between vocabularies
Maintainer: OMOPHub Team support@omophub.com [copyright holder]
Useful links:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.