Learn R Programming

readepi (version 1.0.4)

sormas_get_cases_data: Get case data from a SORMAS instance

Description

Get case data from a SORMAS instance

Usage

sormas_get_cases_data(login, disease, since)

Value

A data frame with the following eight columns: 'case_id', 'person_id', 'date_onset', 'date_admission', 'case_origin', 'case_status', 'outcome', 'date_outcome'. When not available, the 'person_id' and 'date_outcome' will not be returned.

Arguments

login

A list with the user's authentication details

disease

A character with the target disease name

since

A Date value in ISO8601 format (YYYY-mm-dd). Default is 0 i.e. to fetch all cases from the beginning of data collection.