I do not have any code samples at hand to cover your exact scenario.
But I still hope this documentation might help,
Or maybe you can provide a sample data file?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.