R/ui-helpers.R

## Definitions of variables and helper functions used by the UI

#' Region lists by continent
#'
#' Lists of GCAM regions grouped by continent.
#'
#' @name rgnlists
NULL

#' @rdname rgnlists
#' @export
africa.rgns <- c('Africa_Eastern', 'Africa_Northern', 'Africa_Southern',
                 'Africa_Western', 'South Africa')

#' @rdname rgnlists
#' @export
north.america.rgns <- c('USA', 'Canada')

#' @rdname rgnlists
#' @export
lac.rgns <- c('Argentina', 'Brazil', 'Central America and Caribbean',
              'Colombia','Mexico', 'South America_Northern',
              'South America_Southern')

#' @rdname rgnlists
#' @export
europe.rgns <- c('EU-12', 'EU-15', 'Europe_Eastern', 'Europe_Non_EU',
                 'European Free Trade Association')

#' @rdname rgnlists
#' @export
asiapac.rgns <- c('Australia_NZ', 'Central Asia', 'China', 'India', 'Indonesia',
                  'Japan', 'Middle East', 'Pakistan', 'Russia', 'South Asia',
                  'South Korea', 'Southeast Asia')


## available color schemes
color.schemes <- c('default', 'region32')
JGCRI/GCAM-dashboard documentation built on May 3, 2019, 11:48 p.m.