acled_access {acledR} | R 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)
[Package acledR version 0.1.0 Index]