View source: R/acled_deletions_api.R
acled_deletions_api | R Documentation |
This function allows users to pull deleted ACLED event IDs from the Deletions API.
acled_deletions_api(
email = NULL,
key = NULL,
date_deleted = NULL,
acled_access = TRUE,
log = FALSE
)
email |
character string. Email associated with your ACLED account registered at https://developer.acleddata.com. |
key |
character string. Access key associated with your ACLED account registered at https://developer.acleddata.com. |
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. |
acled_access |
logical. If TRUE it means that you have utilized the acled_access function and there is no need for the email and key arguments. |
log |
Only for testing purposes: you can use this to check if all the variables in your call were handled properly. |
Returns a tibble of ACLED data with columns for event_id_cnty and deleted_timestamp.
Other API and Access:
acled_access()
,
acled_api()
,
acled_update()
## Not run:
# Request deleted ACLED events since January 1, 2022
acled_deletions_api(date_deleted = "2022-01-01", acled_acess = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.