output_column: Preprocess column for output

View source: R/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, name)

Arguments

x

A vector

Examples

# Most columns are not altered, but POSIXct are converted to ISO8601.
x <- parse_datetime("2016-01-01")
str(output_column(x))

readr documentation built on May 29, 2024, 2:37 a.m.