Learn R Programming

basedosdados (version 0.2.2)

set_billing_id: Define your Project Id

Description

Define your project billing ids here so all your queries are authenticated and return data, not errors. If using in production or leaving code available at public repositories, dotenv is highly recommended.

Usage

set_billing_id(billing_project_id = NULL)

Value

No return.

Arguments

billing_project_id

a single character value containing the string. Vectors with longer lengths and non-vectors will trigger an error.

Examples

Run this code

if (FALSE) {
set_billing_id("my_billing_project_id")

# or load from an .env file

library(dotenv)

load_dot_env("keys.env")
print(Sys.getenv("billing_project_id"))

set_billing_id(Sys.getenv("billing_project_id"))

}

Run the code above in your browser using DataLab