Connection

Connect and Disconnect a Local “Athena” Postgres Database

connectAthena()

Connect Local Athena

dcAthena()

Disconnect Local Athena

Concept Class Object

Operations related to Concept Class objects

get_concept()

Lookup a Concept Id

get_name_cluster()

Get a Name Cluster

Join

Join a dataframe to a OMOP Vocabulary table

join_for_ancestor_ids()

Join For Ancestor Ids

join_for_ancestors()

Join For Ancestors

join_for_concept_synonym_name()

Join For Concept Synonyms

join_for_descendant_ids()

Join For Descendant Ids

join_for_descendants()

Join For Descendants

join_on_concept_code()

Join On Concept Code

join_on_concept_id()

Join On Concept Id

join_on_concept_name()

Join On Concept Name

join_on_concept_synonym_name()

Join On Concept Synonym Name

Concept Hierarchy

Visualize a concept hierarachy

print_concept_hierarchy()

Print a Concept's Hierarchy to the Console

print_concept_siblings()

Print a Concept's Parents and Siblings to the Console

Lookup Concept

Lookup concept details in the OMOP Vocabulary

lookup_atc_class_ingredients()

Lookup the RxNorm Ingredients of an ATC Class

lookup_orphan_concepts()

Lookup Orphan Concepts for a Domain, Vocabulary, and/or Concept Class

lookup_relationships()

Lookup Relationships of a Set of Concepts

lookup_top_ancestors()

Lookup Topmost Ancestors for a Domain, Vocabulary, and/or Concept Class

lookup_ucum()

Lookup UCUM Unit Concepts

lookup_ucum_time()

List UCUM Concepts Related to Time

lookup_upper_limit_ancestors()

Lookup the Ancestors at the Upper Limit of the Max Level of Separation

Lookup Vocabulary

Lookup vocabulary-level details in the OMOP Vocabulary

vocab_lookup_interrelation()

Query a Source Vocabulary's Relationships to Other Vocabularies

vocab_lookup_intrarelation()

Query a Source Vocabulary's Relationships

vocab_lookup_relationships()

Lookup a Source Vocabulary's Relationships

Search for a phrase in the OMOP Vocabulary

search_code()

Search for a Code in the Concept Table

search_ends_with_phrase()

Search Concepts that End With a Phrase

search_exact_phrase()

Search Exact Matches to a Phrase

search_like_phrase()

Search Concepts that Contain a Phrase

search_split_phrase()

Search Concepts that Contain all Parts of a Phrase

search_starts_with_phrase()

Search Concepts that Start With a Phrase

List Metadata

List pre-built atomic vectors of CDM Metadata

list_cdm_table_names()

List the Common Data Model Tables

list_concept_id_fields()

Get CDM Table Concept Id Fields

list_fields()

List Table Fields

list_table_abbr()

Get OMOP Table Abbreviations

list_vocab_table_names()

List the Vocabulary Tables

Get

Get real-time Data and Metadata

get_ancestor_relationships()

Get Ancestry Relationships

get_cdm_data_dictionary()

Get the CDM Data Dictionary

get_concept()

Lookup a Concept Id

get_concept_id_fields()

Get the Concept Id Field Names for Each Table

get_hierarchical_relationships()

List Hierarchical Relationships

get_name_cluster()

Get a Name Cluster

get_strip()

Get Concept Strip

get_test_concepts()

Get Unfiltered Test Concepts

get_test_data()

Get Test Data

get_test_drug_classes()

Get Test Drug Classes

get_test_drug_concepts()

Get Test Drug Concepts

get_vocab_data_dictionary()

Get the Vocabulary Data Dictionary

get_vocabulary_ids()

Get Vocabulary Ids

HemOnc

Lookup HemOnc Concepts by leveraging the HemOnc ontology

ho_grep_regimens()

Extract HemOnc Regimens by Component String Match

ho_lookup_antineoplastics()

Query a HemOnc Regimen's 'Has antineoplastic' Relationship

ho_lookup_regimen()

Look up a HemOnc Regimen

ho_reduce_to_components()

Reduce All HemOnc Concepts to Component

Drug Strength Calculations

Process the Drug Strength table to stage exposure calculations

ds_join_on_drug()

Get the Staged Drug Strengths by Drug

ds_join_on_ingredient()

Get the Staged Drug Strengths by Ingredient

ds_lookup_ucum()

Lookup the Units for Drug Strength Processing

ds_process()

Process the Drug Strength Table

ds_process_drug_table()

Process the Records in Drug Strength

ds_process_map_table()

Process the Unit Concept Ids in the Drug Strength Table

ds_stage()

Stage Drug Strengths

ds_stage_unit_fraction()

Stage the Fractional Representation of Units

ds_stage_value_fraction()

Stage the Fractional Representation of Value

ds_staged_table_exists()

Does the Drug Strength Staged table exist?

Concept Formatting

Format concepts and their attributes

label_to_strip()

Convert a Label to a Strip

strip_to_label()

Convert a Strip to a Label

merge_label()

Make Label Column

merge_strip()

Merge Concept Attributes into a Strip

unmerge_label()

Unmerge a Label

unmerge_strip()

Unmerge a Strip

unbox_label()

Unbox Label

unbox_strip()

Unbox Strip

Filter Strip Format

Wrappers around dplyr’s filter functions to filter strip style columns

filter_at_all_strip()

Filter Multiple Concept Strip Columns

filter_at_any_strip()

Filter At Any Strip

filter_strip()

Filter Columns with Merged Concept Strips

String Manipulation

Manipulate character strings for mapping use cases

process_first_parentheses()

Process a Concept Column for the First Set of Parentheses

process_last_parentheses()

Process a Concept Column for the Last Set of Parentheses

process_longest_words()

Identify the Longest Word in the Concept

process_parentheses()

Process a Concept Column for Parenthetical Phrases

process_unique_words()

Identify Words Unique to the Concept in the Concept Set

process_words()

Process the Words Column from the Concept Column