Skip to contents

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)

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.

Value

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

See also

Examples

if (FALSE) { # \dontrun{

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