create_bigquery_table: Create a new table in BigQuery if it does not exist.

Description Usage Arguments Examples

View source: R/create_bigquery_table.R

Description

Create a new table in BigQuery if it does not exist.

Usage

1
create_bigquery_table(project_id, dataset_name, table_name, df_to_upload)

Arguments

project_id

The BigQuery project ID, e.g. 'buffer-data'

dataset_name

The name of the dataset in which you wish to create the table, e.g. 'temp_google_sheets'

table_name

The name of the table you wish to create in BigQuery.

df_to_upload

A dataframe that is to be inserted into the new table in BigQuery.

Examples

1
2
3
4
create_bigquery_table(project_id = "buffer-data",
                      dataset_name = "temp_google_sheets",
                      table_name = "ig_profile_deprecation_list_c1_free",
                      df_to_upload = list_c1_free)

jwinternheimer/buffer documentation built on Jan. 8, 2022, 7:51 p.m.