set_billing_id {basedosdados}R Documentation

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)

Arguments

billing_project_id

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

Value

No return.

Examples


## Not run: 
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"))


## End(Not run)


[Package basedosdados version 0.2.2 Index]