R/calcFAOLand.R

Defines functions calcFAOLand

#' calcFAOLand
#' 
#' Returns either physical land areas from FAOSTAT.
#' 
#' @importFrom magpiesets findset 
#' @return land areas from FAOSTAT and weight
#' @author Ulrich Kreidenweis
calcFAOLand <- function() {
    selectyears <- findset("past")
    data <- readSource("FAO","Land")[,selectyears,]
    data <- data/10^6
    return(list(x=data,weight=NULL, unit="mio. ha", description = "land-use categories from FAOSTAT"))
}
pik-piam/moinput documentation built on June 9, 2020, 12:23 p.m.