Skip to contents

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)

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

if (FALSE) { # \dontrun{
acled_access(email = "your_email", key = "your_key")
Sys.getenv("acled_email")
Sys.getenv("acled_key")
} # }