output_column: Preprocess column for output

View source: R/vroom_write.R

output_columnR Documentation

Preprocess column for output

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

output_column(x)

Arguments

x

A vector

Examples

# 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 March 18, 2022, 7:57 p.m.