pik-piam/GDPuc

Incorrect detection of value column in tibble-to-magpie conversion

Closed this issue · 0 comments

a <- magclass::new.magpie(
years = 2000,
cells_and_regions = "AIA",
names = "foo",
fill = 1
)
a <- magclass::add_dimension(a, dim = 3.2, nm = c(1,2))
GDPuc::convertGDP(
gdp = a,
unit_in = "constant 2005 US$MER",
unit_out = mrdrivers::toolGetUnitDollar(),
replace_NAs = "with_USA"
)
Thanks @fbenke-pik