readr (version 2.1.5)

output_column: 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

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

Run the code above in your browser using DataLab