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

omopfreqdomain(df1, sort = TRUE)

ofreqd(df1, sort = TRUE)

Arguments

df1

an omop table

sort

whether to sort freqs, default TRUE

Examples

omop_relations("Non-invasive blood pressure") |> omopfreqdomain()
#> 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
#>   domain_id              n
#>   <chr>              <int>
#> 1 Measurement            3
#> 2 Observation            3
#> 3 Metadata               2
#> 4 Spec Anatomic Site     1