Skip to main content
. 2021 Mar 9;21:93. doi: 10.1186/s12911-021-01458-1

Table 3.

Examples for groupings

Grouping example Comment
item1 Group by value in item1. Depending on the domain path this can be used to group per site (cf. Fig. 2), time interval (year, month, quarter, day), day of week, patient etc
sprintf("%s_%s",item1,item2) Combines multiple values for grouping, e.g. to get counts of antibiotic resistant isolates per bacteria species in lab values