ecosystem_services
is a data.frame
with
3421 rows and 8 columns.
The columns are:
activity_type
: Type of activities that pose a risk
activity_realm
: Aggregation of activity types
pressure_cat
: Category of pressures exerted by the activities and
eventually pose a risk to the ecosystem.
biotic_group
: Biotic groups affected by the pressures.
biotic_realm
: Aggregation of biotic groups
service_division
: Division of ecosystem services that are
provided by the biotic groups and affected by the activities.
service_section
: Aggregation of service divisions.
RCSES
: 'Risk to Capacity to Supply Ecosystem Services'.
A numerical score reflecting the amount of risk for the ecosystem to
supply specific services. For more details see Piet et al. (submitted)
This data.frame
is in a wide oriented format, typical for most common
applications. Each row in the data.frame
represents a unique pathway where each
activity_tpe
poses a risk to an ecosystem sevice_division
, via a
pressure_cat
and biotic_group
. Each column either contains information on
a specific stage or the overall quantifier (in this case RCSES
).
In its present form it is not suitable to directly plot as a Sankey diagram.
For that purpose it needs to be pivoted with pivot_stages_longer()
. Two
different variants are prepared with this function: ecosystem_services_pivot1
and ecosystem_services_pivot2
.
The latter pivot contains service_section
as an extra feature which can be used
for additional decoration of a Sankey diagram. It is therefore more detailed than
the first alternative.
ecosystem_services_pivot1
is a data.frame
with
112 rows and 5
columns. Columns are:
RCSES
: See above at ecosystem_services
.
edge_id
: Unique numerical identifier for each edge in a Sankey diagram.
connector
: One of 'from'
or 'to'
, indicating whether we are looking
at the start or the end of an edge.
node
: A collection of activity_realm
, pressure_cat
, biotic_realm
and
service_section
values from the ecosystem_services
data.frame
.
stage
: Stages in a Sankey diagram formed by the columns activity_realm
,
pressure_cat
, biotic_realm
and service_section
from the
ecosystem_services
data.frame
.
ecosystem_services_pivot1
is created from ecosystem_services
using
pivot_stages_longer()
and can be used directly in a Sankey diagram (using
geom_sankeynode()
and geom_sankeyedge()
)
ecosystem_services_pivot2
is a data.frame
with
252 rows and 6.
It is the same as ecosystem_services_pivot1
with the exception of a distinct
extra column service_division
which allows for more detailed aesthetics in
a Sankey diagram.