get_screening_reporting_analytics {cancerscreening} | R Documentation |
get_screening_reporting_analytics()
It fetches the reporting metrics for the
screening tool (MOH 745).
get_screening_reporting_analytics(
start_date,
end_date = NULL,
level = c("country", "county", "subcounty", "ward", "facility"),
organisations = NULL,
...
)
start_date |
The start date to retrieve data. It is required and in the
format |
end_date |
The ending date for data retrieval (default is the current date). |
level |
The desired data granularity: |
organisations |
A list of organization units ids to be filtered. |
... |
Other options that can be passed onto KHIS API. |
A tibble with the reporting metrics.
# Download screening metric from February 2023 to current date
data <- get_screening_reporting_analytics(start_date = '2023-02-01')
data