as_table_schema | R Documentation |
Currently implements list-schema features first and will do more later.
Check and encode data values to expectations of Synapse target table schema for storage.
The target schema is more likely from an existing table, since new tables can take advantage of build_table
.
To get compatible list data, does JSON encoding and optionally list_truncate
when running into length limits.
If truncation is not OK, then the incompatibility will have to be resolved by updating schema outside of this.
Note that the setting applies to ALL list columns, though it would be desirable to be column-specific.
as_table_schema(df, schema, list_truncate = FALSE)
df |
A table, i.e. |
schema |
Table schema object or Synapse id of target table from which to get schema. |
list_truncate |
If length exceeds schema max for list columns, set |
Synapse Table object ready for storing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.