Skip to content

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)
#> [1] 1
output_column("x")
#> [1] "x"

# datetimes are formatted in ISO 8601
output_column(Sys.Date())
#> [1] "2023-01-22"
output_column(Sys.time())
#> [1] "2023-01-22T22:57:08Z"