acled_access: Store your ACLED access information into your session.

View source: R/acled_access.R

acled_accessR Documentation

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)

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.

Value

Returns a success message if ACLED credentials are successfully authorized

See Also

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

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

Examples

## Not run: 
acled_access(email = "your_email", key = "your_key")
Sys.getenv("acled_email")
Sys.getenv("acled_key")

## End(Not run)

billingtt/acledR documentation built on March 5, 2025, 4:40 p.m.