Learn R Programming

redlist (version 0.2.0)

rl_set_api: Set the IUCN Red List API key

Description

The function provide steps to set the IUCN Red List API key.

Usage

rl_set_api(api_key)

Value

Invisibly returns NULL after setting the API key.

Arguments

api_key

Character. The API key provided by the IUCN Red List to authenticate requests, obtainable at IUCN Red List API website.

Examples

Run this code
if (FALSE) {
# Set the API key for the IUCN Red List
rl_set_api("your_api_key")
}

Run the code above in your browser using DataLab