bqDescribeTable: Get table metadata from remote server.

Description Usage Arguments Value See Also Examples

Description

Equivalent to the describe command in bq, asks for metadata regarding a BigQuery table - primarily column name and type

Usage

1
bqDescribeTable(con, table, what = "", verbose = FALSE, ...)

Arguments

con

Connection to BigQuery to use.

table

The name of the table to describe

what

Optional: A specific tag whose value to return

verbose

Print extra debugging output

...

Currently unimplemented

Value

kind

Type of query - should be bigquery#table

name

name of the table

fields

List of fields in the table and their types. Note: this can produce very unhelpful output - for column names, using bqListFields is recommended.

See Also

BQConnection-class

Examples

1
2
3
4
 ## Not run: 
    metadata <- bqDescribeTable(conn, "bigquery/samples/shakespeare")

## End(Not run)

RBigQuery documentation built on May 2, 2019, 5:09 p.m.