Learn R Programming

acledR (version 1.0.1)

acled_deletions_api: Request data from the ACLED Deletions API

Description

This function allows users to pull deleted ACLED event IDs from the Deletions API.

Usage

acled_deletions_api(email = NULL, password = NULL, date_deleted = NULL)

Value

Returns a tibble of ACLED data with columns for event_id_cnty and deleted_timestamp.

Arguments

email

character string. Email associated with your ACLED account registered at https://developer.acleddata.com.

password

character string. The password associated with your ACLED account. If NULL, you will be prompted to enter your password interactively.

date_deleted

character string. Format 'yyyy-mm-dd' or Unix timestamp. The query will return all deleted events including and after the requested date/timestamp.

See Also

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

Examples

Run this code
if (FALSE) {

# Request deleted ACLED events since January 1, 2022
acled_deletions_api(date_deleted = "2022-01-01")
}

Run the code above in your browser using DataLab