texts <- tibble::tribble(
~doc_id, ~field, ~text,
1, "engineering", "The structure was tested under dynamic stress and material fatigue.",
2, "engineering", "Mechanical systems require models of vibration, load and failure.",
3, "engineering", "Sensors collect signals from machines under stress and vibration.",
4, "sport", "Training load, recovery and fatigue affect athletic performance.",
5, "sport", "Injury prevention requires monitoring intensity and recovery.",
6, "sport", "Athletes improve performance through training, recovery and adaptation.",
7, "economics", "Innovation and sustainability influence firms, markets and management.",
8, "economics", "Firms compete in markets through strategy, investment and innovation.",
9, "economics", "Management decisions affect costs, productivity and sustainability.",
10, "humanities", "Texts, sources and contexts shape historical interpretation.",
11, "humanities", "Archives preserve documents, memories and cultural heritage.",
12, "humanities", "Interpretation depends on language, context and historical sources."
)
texts |>
kbl() |>
kable_styling(full_width = FALSE)