vocab_lookup_intrarelation: Query a Source Vocabulary's Relationships

Description Usage Details See Also Examples

View source: R/x_vocabulary_relationships.R

Description

Query a Source Vocabulary's Relationships

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
vocab_lookup_intrarelation(
  vocabulary_id,
  conn,
  conn_fun = "connectAthena()",
  vocab_schema = "omop_vocabulary",
  cache_only = FALSE,
  skip_cache = FALSE,
  override_cache = FALSE,
  cache_resultset = TRUE,
  render_sql = FALSE,
  verbose = FALSE,
  sleepTime = 1
)

Details

Query for the Source Vocabulary's non-null relationships in the Concept Relationship Table and all of the OMOP Source Vocabulary and Concept Classes that the relationships are to. For a resultset that filters for relationships to other vocabularies, see query_intervocabulary_relationship.

See Also

render

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(chariot)
library(tidyverse)

# Lookup relationships on the Vocabulary-Concept Class Id axis
vocab_lookup_relationships(vocabulary_id = "HemOnc")

# Relationships between HemOnc concepts only can also be looked up
vocab_lookup_intrarelation(vocabulary_id = "HemOnc")

# Relationships between HemOnc and non-Hemonc Concepts
vocab_lookup_interrelation(vocabulary_id = "HemOnc")

patelm9/chariot documentation built on Feb. 19, 2022, 11:29 a.m.