View source: R/cvd_api_functions.R
cvd_area_nested_subsystems | R Documentation |
Returns given area and children areas in a nested structure
cvd_area_nested_subsystems(area_id = 5)
area_id |
integer - the area to return data for (compulsory) |
CVD Prevent API documentation: Area nested subsystems
List of named tibbles containing details for the area and each sub-level areas
cvd_area_list()
, cvd_area_details()
, cvd_area_unassigned()
, cvd_area_search()
, cvd_area_flat_subsystems()
# View details for for Somerset STP
returned_list <- cvd_area_nested_subsystems(area_id = 5)
returned_list |> summary()
# see details for five of the immediate children of Somerset STP
returned_list$level_2 |>
dplyr::slice_head(n = 5)
# View details for Leicester Central PCN
returned_list <- cvd_area_nested_subsystems(area_id = 701)
returned_list |> summary()
# see details for the GP practice children of the PCN
returned_list$level_2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.