You can create a step that exports data as CSV (or any other format) by defining a custom function.
For example, here is a function that exports the step data as data_out.csv file under my Downloads folder.
export_as_csv <- function(df) {
readr::write_delim(df, path='/Users/hideaki/Downloads/data_out.csv',
append=FALSE, col_names=TRUE, delim=',')
df
}
Create a Script and paste this function, after adjusting the output file path to suite your environment.
Now, you can call this function as a custom step like following.
Each time this step is executed, the data will be written out as CSV file.