Indicator national vs area metric data
Source:R/cvd_api_functions.R
cvd_indicator_nationalarea_metric_data.Rd
Returns national and area data for provided metric, area and time period. Target data contains the target value as a percentage stored as whole number up to 100; target patients is the number of patients more needed to reach the target percentage. If there is not data for both national and chosen area an error will be returned.
Value
Tibble of performance against the specified metric in the area as compared with national level
Details
CVD Prevent API documentation: Indicator national vs area metric data
See also
cvd_indicator_list()
, cvd_indicator_metric_list()
, cvd_indicator()
,
cvd_indicator_tags()
, cvd_indicator_details()
, cvd_indicator_sibling()
,
cvd_indicator_child_data()
, cvd_indicator_data()
, cvd_indicator_metric_data()
,
cvd_indicator_raw_data()
,
cvd_indicator_priority_groups()
, cvd_indicator_pathway_group()
, #
cvd_indicator_group()
, cvd_indicator_metric_timeseries()
,
cvd_indicator_person_timeseries()
, cvd_indicator_metric_systemlevel_comparison()
,
cvd_indicator_metric_area_breakdown()
Examples
# Compare performance against metric 150 (AF: treatment with anticoagulants
# - all people) in 'Chester South PCN' (area ID 553) with national
# performance:
cvd_indicator_nationalarea_metric_data(metric_id = 150, time_period_id = 17, area_id = 553) |>
dplyr::slice_head(n=5)
#> # A tibble: 2 × 6
#> AreaCode AreaID AreaName NationalLevel Value TargetData
#> <chr> <int> <chr> <chr> <dbl> <named list>
#> 1 E92000001 1 England Y 91.5 <int [1]>
#> 2 U68943 553 Chester South PCN N 88.6 <dbl [1]>