Get event data from the newer DHIS2 versions (version >= 2.41)
get_event_data(
login,
api_version,
org_unit,
program,
data_elements,
programs,
program_stages,
org_units
)A data frame with the data elements obtained from each event
A httr2_response object returned by the dhis2_login() function
A numeric with the API version returned by the
get_api_version() function
A character with the organisation unit ID or name
A character with the program ID or name
A data frame with the data element IDs and names
obtained from the get_data_elements() function
A data frame with the program IDs and names obtained from the
get_programs() function
A data frame with the program stages IDs and names
obtained from the get_program_stages() function
A data frame with the organisation units IDs and names
obtained from the get_organisation_units() function