| get_table {bigrquery} | R Documentation |
get_table returns a table's metadata as a nested list.
In addition to a regular error, the condition bigrquery_notFound
(which can be handled via base::tryCatch())
is raised if the table could not be found.
exists_table merely checks if a table exists, and returns
either TRUE or FALSE.
get_table(project, dataset, table) exists_table(project, dataset, table)
project |
The project name, a string |
dataset |
The name of the dataset to create, a string |
table |
name of the table |
A table resource list, as described by https://developers.google.com/bigquery/docs/reference/v2/tables
API documentation: https://developers.google.com/bigquery/docs/reference/v2/tables/get
Other tables: delete_table,
list_tables
## Not run:
str(get_table("publicdata", "samples", "natality"))
str(get_table("publicdata", "samples", "gsod"))
str(get_table("githubarchive", "github", "timeline"))
## End(Not run)