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

omopfreqvocabulary(df1, sort = TRUE)

ofreqv(df1, sort = TRUE)

Arguments

df1

an omop table

sort

whether to sort freqs, default TRUE

Examples

omop_relations("Non-invasive blood pressure") |> omopfreqvocabulary()
#> 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: 1 × 2
#>   vocabulary_id     n
#>   <chr>         <int>
#> 1 SNOMED            9