This function saves a tibble or dataframe as a csv file.

save_as_csv(data, filename)

Arguments

data

The dataframe or tibble

filename

Name or path of output file without .csv extension