Import data into AutoML Tables from BigQuery or Google Cloud Storage

gcat_import_data(
  projectId = gcat_project_get(),
  locationId = gcat_region_get(),
  displayName = gcat_get_global_dataset(),
  input_source = c("bq", "gcs"),
  input_url
)

Arguments

projectId

GCP project id

locationId

location of GCP resources

displayName

the name of the dataset that is shown in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

input_source

a string "bq" or "gcs" to specific the source data location, BigQuery or Google Cloud Storage

input_url

a string, location of source data up to 2000 characters long 1. BigQuery URI or path to a table e.g. bq://projectId.bqDatasetId.bqTableId 2. Google Cloud Storage URI or full object path, e.g. gs://bucket/directory/object.csv