fineprint-global / fabio

Food and Agriculture Biomass Input-Output Tables
Other
18 stars 15 forks source link

wood trade for nonexistent countries #78

Closed martinbruckner closed 4 years ago

martinbruckner commented 4 years ago

For some reason, the CBS shows imports and exports of roundwood for countries like Russia for years, in which these countries did not exist. This occurs for Eastern European countries, but also for Myanmar, Congo, Laos and many other countries that appeared later (or disappeared).

nk027 commented 4 years ago

This was related to the now commented:

# Fill < 1997 with 1997 (or not)
# fore_fill <- lapply(seq(years[1], 1996), function(x, data, obs) {
#   dt <- data[obs, ]
#   dt$year <- x
#   return(dt)
# }, data = fore, obs = which(fore[, year] == 1997))