Learn R Programming

nomisdata (version 0.1.1)

set_api_key: Set API Key

Description

Configure your Nomis API key for increased rate limits. Register at: https://www.nomisweb.co.uk/myaccount/userjoin.asp

Usage

set_api_key(key = NULL, persist = FALSE)

Value

Invisible TRUE if successful

Arguments

key

API key string. If NULL, will prompt or check environment.

persist

If TRUE, saves to .Renviron for future sessions.

Examples

Run this code
# \donttest{
set_api_key("your-key-here")
set_api_key("your-key-here", persist = TRUE)
# }

Run the code above in your browser using DataLab