bdpe_store_token {BigDataPE}R Documentation

Store a token in an environment variable for a specific dataset

Description

This function stores an authentication token for a specific dataset in a system environment variable. The environment variable name is constructed by converting the dataset name to ASCII (removing accents), replacing spaces with underscores, and prefixing it with "BigDataPE_".

Usage

bdpe_store_token(base_name, token)

Arguments

base_name

The name of the dataset (character).

token

The authentication token for the dataset (character).

Details

If a variable with that name already exists (and is non-empty), the function will stop and notify you to avoid overwriting. Adjust this behavior as needed.

Value

No return value, called for side effects.

Examples

bdpe_store_token("educação dataset", "your-token-here")


[Package BigDataPE version 0.0.96 Index]