Writing data to CSV in k6

Hey, I am new to k6. I just wanted to know does k6 supports writing data to CSV files. I know that there is an --out = csv which is used to write the matrices to CSV but that’s not what I want. I am looking for a way to create a matrix that I want and write it to CSV. Please help.

Replied in Slack - might be duplicated of

Is using tags the only better option to filter out certain request and request body?