Repeat column labels in gt

Hi Team,

I am creating a long table (flowing over to 4 pages) using gt package function. I'd like to repeat column labels in each page (such as names, Id number and contact), does any one know of a simple way or function that can help me accomplish this?

Hi @rigs,

Would gt::gt_split() work for you?

It allows you to split your long table into parts, usually a number of rows each, that have the table headings, that can be placed over multiple pages in your report.