output_column: Preprocess column for output

Description Usage Arguments Examples

View source: R/vroom_write.R

Description

This is a generic function that applied to each column before it is saved to disk. It provides a hook for S3 classes that need special handling.

Usage

1

Arguments

x

A vector

Examples

1
2
3
4
5
6
7
# Most types are returned unchanged
output_column(1)
output_column("x")

# datetimes are formatted in ISO 8601
output_column(Sys.Date())
output_column(Sys.time())

vroom documentation built on Jan. 14, 2020, 1:07 a.m.