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.

jiho/ecotaxar documentation built on Jan. 16, 2024, 12:26 a.m.