For parameterised Quarto reports, a solution is to put a save(yourData) expression just before the quarto_render() expression in your script and a load(yourData) in the Quarto template. Seems easier than reducing your data to .csv and then having to potentially re-factorise etc.