get_cervical_hiv_screened {cancerscreening}R Documentation

Retrieves Cervical Cancer Screening Data on HIV Positive Women

Description

get_cervical_hiv_screened() retrieves cervical cancer screening and positivity data for HIV positive women for a specified period from the KHIS API server.

Usage

get_cervical_hiv_screened(
  start_date,
  end_date = NULL,
  level = c("country", "county", "subcounty", "ward", "facility"),
  organisations = NULL,
  ...
)

Arguments

start_date

The start date to retrieve data. It is required and in the format YYYY-MM-dd.

end_date

The ending date for data retrieval (default is the current date).

level

The desired data granularity: "country" (the default), "county", "subcounty", "ward", or "facility".

organisations

A list of organization units ids to be filtered.

...

Other options that can be passed onto KHIS API.

Value

A tibble containing cervical cancer screening data on HIV positive women with the following columns:

Examples


# Download data from February 2023 to current date
screened <- get_cervical_hiv_screened(start_date = '2023-02-01')
screened


[Package cancerscreening version 1.1.1 Index]