write_tome_data.frame: Generalized write for data.frames to a tome file

Description Usage Arguments

View source: R/write_tome_lowlevel.R

Description

This function currently only works in an overwrite mode. Anything at the target location will be removed, and the new df will be written.

Usage

1
2
write_tome_data.frame(df, tome, target, store_as = "vectors",
  overwrite = NULL)

Arguments

df

The data.frame to store

tome

Path to the target tome file

target

The target location within the tome file

store_as

Either "data.frame", which will store as a compound object; or "vectors", which stores each column as a separate object.

overwrite

logical, whether or not to overwrite existing objects. Default = FALSE.


AllenInstitute/scrattch.io documentation built on Nov. 17, 2021, 10:06 a.m.