Nice cross-tabulated flextable

How to create a nice cross-tabulated flextable from aggregations. This example demonstrate how to use function tabulator().

Define how the text is displayed

Demonstration of formatting capabilities for cell content of various types such as numeric columns, dates, strings.