Skip to contents

Returns a tibble of indicators associated with a single pathway group, identified by its ID. Pathway groups are thematic sub-groupings of priority groups and are visible in the Regional & ICS Insights page. This function enables users to retrieve all indicators linked to a specific pathway group (e.g., "Chronic Kidney Disease").

Usage

cvd_indicator_pathway_group(pathway_group_id)

Arguments

pathway_group_id

Integer (required). The ID of the pathway group to retrieve. Use cvd_indicator_priority_groups() to find valid IDs.

Value

A tibble containing indicators associated with the specified pathway group. Each row represents a single indicator and includes the following columns:

PathwayGroupID

Integer. Unique identifier for the pathway group (e.g., 9 for "Chronic Kidney Disease").

PathwayGroupName

Character. Name of the pathway group (e.g., "Chronic Kidney Disease").

AxisCharacter

Character. Symbol used to represent the metric axis (e.g., "%").

FormatDisplayName

Character. Display format for the metric (e.g., "Proportion %").

HighestPriorityNotificationType

Character. Notification priority level, if applicable (e.g., "Red"). Often blank.

IndicatorCode

Character. Unique code for the indicator (e.g., "CVDP006CKD").

IndicatorFormatID

Integer. Internal ID for the indicator's format type.

IndicatorID

Integer. Unique identifier for the indicator.

IndicatorName

Character. Full descriptive name of the indicator.

MetricID

Integer. Unique identifier for the specific metric instance.

NotificationCount

Integer. Count of notifications associated with the indicator.

PathwayGroupDisplayOrder

Integer. Display order of the indicator within the pathway group.

QuestionGroupName

Character. Thematic label for the indicator's clinical focus (e.g., "Diagnosis", "Monitoring", "Management").

If the request fails or the ID is invalid, a tibble with error details is returned instead.

Note

This function may take longer than 5 seconds to complete due to API response time.

Examples

if (FALSE) { # \dontrun{
# Return indicators for the 'Chronic Kidney Disease' Pathway Group (ID 9):
cvd_indicator_pathway_group(pathway_group_id = 9) |>
  dplyr::select(
    PathwayGroupName,
    PathwayGroupID,
    IndicatorCode,
    IndicatorID,
    IndicatorName
  )
} # }