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.

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] "2021-02-01"
output_column(Sys.time())
#> [1] "2021-02-01T17:04:31Z"