# knitr::opts_chunk$set(echo = TRUE)
library(googleAuthR) library(googleCloudAutoMLTablesR) options(googleAuthR.scopes.selected = "https://www.googleapis.com/auth/cloud-platform") gar_auth_service(json_file = Sys.getenv("GAR_SERVICE_JSON"))
projectId <- Sys.getenv("GCAT_DEFAULT_PROJECT_ID") location <- "us-central1" gcat_region_set("us-central1") gcat_project_set(projectId)
gcat_dataset <- gcat_create_dataset(displayName = "example_dataset01") gcat_dataset
datasets_list <- gcat_list_datasets() datasets_list
gcat_delete_result <- gcat_delete_dataset(displayName = "example_dataset01") gcat_delete_result
gcat_list_datasets()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.