getkey: Function to get API key.

View source: R/getkey.R

getkeyR Documentation

Function to get API key.

Description

Checks first to get key from your .Rprofile or .Renviron (or similar) file

Usage

getkey(x = NULL, service)

Arguments

x

(character) An API key, defaults to NULL

service

(character) The API data provider, used to match to default guest key (for Tropicos; there's no guest key for NCBI or IUCN, for which you have to get your own)

Examples

## Not run: 
getkey(service="tropicos")
getkey(service="iucn")
getkey(service="entrez")

## End(Not run)

taxize documentation built on Sept. 11, 2024, 6:13 p.m.