Column names, types and default R types for a table
Usage
seatable_columns(
table,
base = NULL,
con = default_connection(),
include_key = FALSE,
cached = TRUE
)Arguments
- table
Table name.
- base
Optional base name or
Baseobject; discovered fromtablewhenNULL.- con
- include_key
Whether to include the internal SeaTable column
key(useful for schema operations and for debugging API errors that reference keys). Defaults toFALSE.- cached
Whether to use the cached schema (the default). The schema is memoised for an hour to save a metadata round-trip on every read; pass
FALSEto force a refresh after changing the schema outside this session.
Details
The returned data.frame also carries a data list-column with each
column's raw SeaTable metadata (e.g. a select column's options, a date
column's format), which the read paths use to coerce results and
seatable_select_options() uses to list option names.