While its nice to be able to read in a variety of data formats, it’s equally important to be able to output data somewhere.
The readr package in the tidyverse provides data exporting functions which have the pattern write_*:
- write_csv(),
- write_delim(), others.
From write_csv() documentation:
write_csv(x, file, na = "NA", append = FALSE, col_names = !append, quote_escape = "double", eol = "\n", path = deprecated() )