Package index
Clinical codes
Functions for looking up clinical codes and mapping between different coding systems.
-
DESCRIPTION() - Search for codes that match a description
-
CODES()CODES_LIKE() - Look up descriptions for clinical codes
-
CHILDREN()PARENTS()N_CHILDREN()N_PARENTS() - Retrieve parent or child codes
-
ATTRIBUTES_FOR()HAS_ATTRIBUTES() - Get attributes or codes with attributes
-
RELATIONSHIP_TYPES_FROM()RELATIONSHIP_TYPES_TO() - Get relationship types for codes
-
MAP() - Map clinical codes from one coding system to another
-
default_col_filters() - Default filtering parameters for lookup and mapping tables.
-
get_col_filters() - Extract column filters from metadata tables
Database management
Build a local database with lookup and mapping tables for various clinical coding systems.
-
get_ukb_resource_592() - Get UK Biobank resource 592 directly from UK Biobank website
-
read_ukb_resource_592() - Read UK Biobank Resource 592 clinical code mappings
-
add_ukb_resource_592() - Add UK Biobank Resource 592 tables to CodeMiner database
-
read_all_lkps_maps() - Read UK Biobank resource 592 into a named list
-
build_all_lkps_maps() - Build named list of clinical code look up and mapping tables
-
all_lkps_maps_to_db() - Build a Duckdb database of clinical code look up and mapping tables
-
build_database() - Build the Codeminer database
-
dummy_ukb_resource_592_path() - Get path to dummy UK Biobank Resource 592 file
-
create_dummy_database() - Create a dummy database
-
add_lookup_table() - Add a lookup table to the database
-
lookup_metadata() - Create lookup metadata
-
add_mapping_table() - Add a mapping table to the database
-
mapping_metadata() - Create mapping metadata
-
add_relationship_table() - Add a relationship table to the database
-
relationship_metadata() - Create relationship metadata
-
get_codeminer_metadata() - Get codeminer metadata
-
build_all_lkps_maps_dummy() - Create a dummy all_lkps_maps
-
read_all_lkps_maps_dummy() - Read dummy UK Biobank resource 592 into R
-
read_icd10_phecode_map_dummy() - Read dummy Phecode Map 1.2 with ICD-10 codes (beta) file into R
-
read_phecode_lkp_dummy() - Read dummy Phecode definitions file into R
-
read_ukb_codings_dummy() - Read dummy UK Biobank codings into R
-
dummy_all_lkps_maps_db() - Set up a dummy all_lkps_maps database
-
dummy_clinical_events_tidy() - Dummy UK Biobank clinical events, tidied
-
dummy_icd10_phecode_map_path() - Dummy Phecode Map 1.2 with ICD-10 codes (beta) file path
-
dummy_phecode_lkp_path() - Dummy Phecode definitions file path
-
dummy_ukb_codings_path() - Dummy UK Biobank codings file path
-
dummy_ukb_resource_592_path() - Get path to dummy UK Biobank Resource 592 file
-
example_ontology - Example ontology data
-
`%AND%``%OR%``%NOT%` - Infix set operations
-
codeminer_metadata() - Metadata
-
get_bnf_from_open_prescribing() - Get the BNF terminology from OpenPrescribing
-
get_nhsbsa_snomed_bnf() - Download and read the NHSBSA BNF_SNOMED mapping file
-
get_ukb_self_report_med_to_atc_map() - Download and read a UKB welf-reported medication code to ATC mapping file
-
get_phecode_definitions() - Download the Phecode 1.2 definitions file
-
get_phecode_icd9_map() - Download the Phecode 1.2 to ICD9 mapping file
-
get_phecode_icd10_map() - Download the Phecode 1.2 to ICD10 (beta) mapping file
-
icd10()icd9()read3()read2()sct()opcs4()phecode()read2_drugs()bnf()dmd()data_coding_3()data_coding_4()data_coding_5()data_coding_6()medcode_aurum()prodcode_aurum() - With Code Type Functions
-
start_api() - Start Plumber API