cvd_area_unassigned {cvdprevent} | R Documentation |
Unassigned areas
Description
Returns a list of all areas which have data in the selected time period, but do not have any parent areas assigned, and therefore are unreachable.
Usage
cvd_area_unassigned(time_period_id = 1, system_level_id)
Arguments
time_period_id |
integer - time period for which Area must have data for (compulsory) |
system_level_id |
integer - system level of areas in the unassigned list (optional) |
Details
CVD Prevent API documentation: Areas unassigned
Value
Tibble of details for areas without parent details
See Also
cvd_area_list()
, cvd_area_details()
, cvd_area_search()
, cvd_area_nested_subsystems()
, cvd_area_flat_subsystems()
Examples
# Report four GP practices (ID = 5) without parent PCN details:
cvd_area_unassigned(time_period_id = 17, system_level_id = 5) |>
dplyr::slice_head(n = 4) |>
dplyr::select(SystemLevelName, AreaID, AreaName)
# England, as the highest system_level (ID = 1) does not have parent details
cvd_area_unassigned(time_period_id = 17, system_level_id = 1) |>
dplyr::select(SystemLevelName, AreaID, AreaName)
[Package cvdprevent version 0.2.2 Index]