User functionality to export data to CSV

This is already possible, if you don’t mind using a 3rd party service such as Make (Integromat).

That tutorial is for an app, but the same technique will work equally well for a Pages project.