Learn R Programming

acledR (version 1.0.1)

acled_auth: Authenticate a request via ACLED API OAuth endpoint.

Description

Pings the ACLED API token endpoint for authentication using email and password.

Usage

acled_auth(req, username, password = NULL)

Value

Returns a modified HTTP request that will use OAuth for the ACLED API.

Arguments

req

An ACLED API request.

username

Email associated with ACLED account.

password

User password associated with ACLED account.

See Also

ACLED API Access guide https://acleddata.com/api-documentation/getting-started

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

Examples

Run this code
if (FALSE) {
acled_auth(req, email, password)
}

Run the code above in your browser using DataLab