Learn R Programming

acledR (version 0.1.0)

acled_access: Store your ACLED access information into your session.

Description

Simple function to authenticate and store (through Sys.setenv()) ACLED access key for the acled_api() function. If email and key is stored via acled_access, the email and key arguments for acled_api can be NULL.

Usage

acled_access(email, key)

Value

Returns a success message if ACLED credentials are successfully authorized

Arguments

email

This is the email that you register in the ACLED Access portal (https://developer.acleddata.com/)

key

This is the key generated by the ACLED Access portal.

See Also

ACLED API Access guide https://acleddata.com/download/35300/

Other API and Access: acled_api(), acled_deletions_api(), acled_update()

Examples

Run this code
if (FALSE) {
acled_access(email = "your_email", key = "your_key")
Sys.getenv("acled_email")
Sys.getenv("acled_key")
}

Run the code above in your browser using DataLab