api_token_path: Get the path to your cached EcoTaxa token

View source: R/api_token.R

api_token_pathR Documentation

Get the path to your cached EcoTaxa token

Description

This path can be changed with option "ecotaxar.token_path"; by default, it is "~/.R/ecotaxar/token".

Usage

api_token_path()

Value

The path to the token file.

Examples

# get current token path
api_token_path()
# set the option to change the path
options(ecotaxa.token_path="~/.my_ecotaxa_token")
api_token_path()
# NB: write this option in .Rprofile to make it permanent.

ecotaxa/ecotaxar documentation built on Jan. 25, 2024, 2:08 p.m.