powered by
Establish connection to a DHIS2 instance
dhis2_login(base_url, user_name, password)
An httr2_response object if the connection was successfully established
httr2_response
A character with the base URL of the target DHIS2 instance
A character with the user name
A character with the user's password
if (FALSE) { dhis2_log <- dhis2_login( base_url = "https://play.im.dhis2.org/stable-2-42-1", user_name = "admin", password = "district" ) }
Run the code above in your browser using DataLab