Function to get API key.

Share:

Description

Checks first to get key from your .Rprofile file for an API key with the name 'tropicoskey'. If it is not found, the default key is used.

Usage

1
getkey(x = NULL, service)

Arguments

x

An API key, defaults to NULL.

service

The API data provider, used to match to default guest key.

Examples

1
2
3
4
5
## Not run: 
getkey(service="tropicos")
getkey(service="eol")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.