Factory function to create a SOMADataFrame for writing, (lifecycle: maturing)
Arguments
- uri
URI for the TileDB object
- schema
Arrow schema argument for the SOMA dataframe
- index_column_names
A vector of column names to use as user-defined index columns; all named columns must exist in the schema, and at least one index column name is required
- domain
An optional list of 2-element vectors specifying the domain of each index column. Each vector should be a pair consisting of the minimum and maximum values storable in the index column. For example, if there is a single int64-valued index column, then
domain
might bec(100, 200)
to indicate that values between 100 and 200, inclusive, can be stored in that column. If provided, this list must have the same length asindex_column_names
, and the index-column domain will be as specified. If omitted entirely, or ifNULL
in a given dimension, the corresponding index-column domain will use the minimum and maximum possible values for the column's datatype. This makes aDataFrame
growable.- ingest_mode
Ingestion mode when creating the TileDB object; choose from:
“
write
”: create a new TileDB object and error if it already exists“
resume
”: attempt to create a new TileDB object; if it already exists, simply open it for writing
- platform_config
Optional platform configuration
- tiledbsoma_ctx
Optional SOMATileDBContext
- tiledb_timestamp
Optional Datetime (POSIXct) for TileDB timestamp