cvd_area_system_level_time_periods {cvdprevent}R Documentation

List all system levels and available time periods

Description

Returns all available system levels along with the time periods where the system levels occur.

Usage

cvd_area_system_level_time_periods()

Details

Note: this is the inverse of cvd_time_period_system_levels().

CVD Prevent API documentation: All system levels and time periods

Value

tibble of system levels and reporting periods

See Also

cvd_time_period_system_levels(), cvd_area_details(), cvd_area_unassigned(), cvd_area_search(), cvd_area_nested_subsystems(), cvd_area_flat_subsystems()

Examples

# list the latest four reporting periods at GP practice level
cvd_area_system_level_time_periods() |>
  dplyr::filter(SystemLevelName == 'Practice') |>
  dplyr::slice_max(order_by = TimePeriodID, n = 4) |>
  dplyr::select(SystemLevelName, TimePeriodID, TimePeriodName)

[Package cvdprevent version 0.2.2 Index]