tables_get {civis} | R Documentation |
Show basic table info
Description
Show basic table info
Usage
tables_get(id)
Arguments
id |
integer required. |
Value
A list containing the following elements:
id |
integer, The ID of the table. |
databaseId |
integer, The ID of the database. |
schema |
string, The name of the schema containing the table. |
name |
string, Name of the table. |
description |
string, The description of the table, as specified by the table owner |
isView |
boolean, True if this table represents a view. False if it represents a regular table. |
rowCount |
integer, The number of rows in the table. |
columnCount |
integer, The number of columns in the table. |
sizeMb |
number, The size of the table in megabytes. |
owner |
string, The database username of the table's owner. |
distkey |
string, The column used as the Amazon Redshift distkey. |
sortkeys |
string, The column used as the Amazon Redshift sortkey. |
refreshStatus |
string, How up-to-date the table's statistics on row counts, null counts, distinct counts, and values distributions are. One of: refreshing, stale, or current. |
lastRefresh |
string, The time of the last statistics refresh. |
dataUpdatedAt |
string, The last time that Civis Platform captured a change in this table.Only applicable for Redshift tables; please see the Civis help desk for more info. |
schemaUpdatedAt |
string, The last time that Civis Platform captured a change to the table attributes/structure.Only applicable for Redshift tables; please see the Civis help desk for more info. |
refreshId |
string, The ID of the most recent statistics refresh. |
lastRun |
list, A list containing the following elements:
|
primaryKeys |
array, The primary keys for this table. |
lastModifiedKeys |
array, The columns indicating an entry's modification status for this table. |
tableTags |
array, An array containing the following fields:
|
ontologyMapping |
list, The ontology-key to column-name mapping. See /ontology for the list of valid ontology keys. |
columns |
array, An array containing the following fields:
|
joins |
array, An array containing the following fields:
|
multipartKey |
array, |
enhancements |
array, An array containing the following fields:
|
viewDef |
string, |
tableDef |
string, |
outgoingTableMatches |
array, An array containing the following fields:
|