View source: R/tableTopConceptCounts.R
| tableTopConceptCounts | R Documentation |
summariseConceptIdCounts() outputThis function takes a summarised_result object and generates a formatted
table highlighting the most frequent concepts.
tableTopConceptCounts(
result,
top = 10,
countBy = NULL,
type = NULL,
style = NULL
)
result |
A summarised_result object (output of
|
top |
Integer. The number of top concepts to display. Defaults to |
countBy |
Either 'person' or 'record'. If NULL whatever is in the data is used. |
type |
Character string specifying the desired output table format. See
|
style |
Defines the visual formatting of the table. This argument can be provided in one of the following ways:
If |
A formatted table visualisation.
library(OmopSketch)
library(omock)
cdm <- mockCdmFromDataset(datasetName = "GiBleed", source = "duckdb")
result <- summariseConceptIdCounts(cdm = cdm, omopTableName = "condition_occurrence")
tableTopConceptCounts(result = result, top = 5)
cdmDisconnect(cdm = cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.