bigQueryR (version 0.2.0)

bqr_upload_data: Upload data to BigQuery

Description

Upload data to BigQuery

Usage

bqr_upload_data(projectId, datasetId, tableId, upload_data, create = TRUE, overwrite = FALSE, uploadType = c("multipart", "resumable"))

Arguments

projectId
The BigQuery project ID.
datasetId
A datasetId within projectId.
tableId
ID of table where data will end up.
upload_data
The data to upload, a data.fame.
create
If TRUE will create the table if it isn't present.
overwrite
If TRUE will delete any existing table and upload new data.
uploadType
'multipart' for small data, 'resumable' for big. (not implemented yet)

Value

TRUE if successful, FALSE if not.

Details

A temporary csv file is created when uploading.

See Also

urlhttps://cloud.google.com/bigquery/loading-data-post-request

Other bigQuery upload functions: gcs_update_acl