Skip to contents

The most important and common "convert" operations are:

  • removing undefined countries,

  • using default set names "iso3c", "year", and "variable",

  • substituting NAs, see the "substituteNAsWith" argument,

  • fill in countries,

  • sort in chronological order.

Usage

toolGeneralConvert(
  x,
  useDefaultSetNames = TRUE,
  countryFillWith = 0,
  substituteNAsWith = 0,
  warn = TRUE,
  note = TRUE,
  ...
)

Arguments

x

A magpie object.

useDefaultSetNames

TRUE or FALSE.

countryFillWith
substituteNAsWith
warn

TRUE or FALSE.

note

TRUE or FALSE.

...

Arguments passed on to madrat::toolCountryFill()

Value

A magpie object.