Apologies if I've misunderstood, but when you were talking about getting a "nicer table" I thought you were asking how you could present the data in a nicer way. gt
produces HTML tables, but you can save them as static PNG images too.
As I say, we can't really see what your data output is, but if you provide a reproducible example we can see what your data looks like and better understand what the problem is that you're having:
FAQ: What's a reproducible example ( reprex
) and how do I create one?