plot_sdg_map {SDGdetector}R Documentation

SDG Map Plot

Description

SDG map plot

Usage

plot_sdg_map(data, sdg = sdg, value = value,
                    country = country, by_sdg = TRUE)

Arguments

data

Data frame as the input

sdg

Vector with SDG code to be visualized.

value

The value, e.g., number of SDGs, to be show in the thematic map

country

Country that are associated with the SDGs.

by_sdg

If mapping by SDG, TRUE or FALSE.

Value

Returns the tool text outputs.

Examples

data("sdgstat")
plot_sdg_map(sdgstat,
  sdg = "SDG", value = "Value",
  country = "Country", by_sdg = FALSE
)


[Package SDGdetector version 2.7.3 Index]