combine_areas | R Documentation |
Function to collect results for lower area hierarchies by joining higher area hierarchies.
combine_areas(.data, areas_wide, area_lev, join, add_keep_cols = NULL, ...)
.data |
Results for highest area hierarchy, to be combined to give results for lower/less granular area hierarchies. |
areas_wide |
|
area_lev |
Desired admin boundary level. |
join |
Indicator to decide whether to join data for different area hierarchies, or return them in list form. |
add_keep_cols |
Additional columns to keep when summarising, Default: NULL |
... |
Further arguments passed to add_area_id. |
data.frame
or list (depending on the value of join
)
with results for all area levels less than or equal to area_lev
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.