`identify_ouuids` pulls from DATIM to return a dataframe with all PEPFAR
Operating Units and countries and their UIDs. This is one of two components
that feeds into `get_outable`.
Usage
identify_ouuids(username, password, baseurl = "https://final.datim.org/")
Arguments
- username
DATIM Username, defaults to using glamr::datim_user()` if blank
- password
DATIM password, defaults to using glamr::datim_pwd()` if blank
- baseurl
base url for the API, default = https://final.datim.org/
Value
Datim country names
Details
To access the UIDs, the user will need to have a DATIM account. You can
take advantage of storing you credentials locally in a secure way
using `set_datim`.
See also
[set_datim()] to store DATIM authentication;
[load_secrets()] to load credentials into session
Examples
if (FALSE) { # \dontrun{
load_secrets()
ous <- identify_ouuids() } # }