Helper to identify the dimension of each step in aggsequence
identify_dimension.Rd
Helper to identify the dimension of each step in aggsequence
Arguments
- aggsequence
a named list of aggregation steps in the order to apply them. Entries for theme aggregation should be character vectors- e.g.
name = c('from_theme', 'to_theme')
. Entries for spatial aggregation should be the sf polygon to aggregate to, e.g.name = sfpolygons
or a length-1 character, e.g.name = "sfpolygons"
. The latter requires the object to be available withget("sfpolygons")
, but allows passing characters rather than objects. Not requiring names and is high on the list of improvements. If we want to be able to re-run from auto-saved metadata params, we need the names of the spatial levels to match the object, e.g. basin: basin.- causal_edges
causal links between all theme levels included in
aggsequence
, though can also include others, which are ignored. Creates the theme grouping