Given a data.frame with a subRegion column, this function searches for an appropriate map from the pre-loaded rmap maps.

map_find(
  data,
  subRegion = "subRegion",
  value = "value",
  x = NULL,
  class = "class",
  scenario = "scenario"
)

Arguments

data

data table to be processed

subRegion

Default ="subRegion",

value

Default = "value",

x

Default = NULL

class

Default = "class"

scenario

Default = "scenario"

Value

dataframe with modified subRegions, subRegion shapefile and subRegion type