Skip to contents

count freq of values in an omop field EXPERIMENTAL may change

super short name func to count freq of values in an omop field

Usage

omopfreqconceptclass(df1, sort = TRUE)

ofreqcc(df1, sort = TRUE)

Arguments

df1

an omop table

sort

whether to sort freqs, default TRUE

Examples

omop_relations("Non-invasive blood pressure") |> omopfreqconceptclass()
#> recursively querying concept relations of: Non-invasive blood pressure - may take more than a few seconds
#> step 1 of 1
#>    querying concept relations of: Non-invasive blood pressure - may take a few seconds
#> returning 8 concepts
#> # A tibble: 4 × 2
#>   concept_class_id      n
#>   <chr>             <int>
#> 1 Qualifier Value       3
#> 2 Body Structure        2
#> 3 Model Comp            2
#> 4 Observable Entity     2