Adding ATSC data to an MPEGTS

Hello! I’m wondering if it’s possible to add ATSC section to an MPEG-TS?

It seems like it’s possible. I’ve used the example code here as a starting point. But I’m a bit last of how to go about constructing the necessary data and associating it with my mpeg ts.

Thanks in advanced,
-Laveur