This plugin is for admin side and exporting the user data and providing the details in csv and this plugin is also user-friendly and you can change the code according to what you want.
This plugin is based on PHP version 7, and it is compatible with at least WordPress version 5.4 and can use the latest version of WordPress 5.8.2.
this plugin does support CSV files.
It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using Sample Data Export and find it useful.