Extract Table to File and Embed

This may be a suggestion or it may be a request for a pointer to an example.

I have various pages which contain reference data for upload to another system.

I’d like to be able to extract the table to a CSV and immediately embed that onto the page that has the table with the reference data on it. Is that possible?