MyNixOS website logo
Description

An Open-Source Tool for Visualization of Climate Mitigation Scenarios.

Generic functions to produce area/bar/box/line plots of data following IAMC (Integrated Assessment Modeling Consortium) submission format.

R mipplot package

Travis-CI Build Status

Purpose and Functionality

The mipplot package contains generic functions to produce area/bar/box/line plots of data following the IAMC submission format. The tool can be applied to datasets from climate mitigation scenarios (also known as emission scenarios) generated by means of integrated assessment models (IAM) and energy-economic models, that follow the format adopted for data submissions contributing to IPCC (Intergovernmental Panel on Climate Change) assessment reports. See the extended manual for details.

Installation

Windows

The latest release of mipplot can be installed from a binary package.

  1. Visit the release page on GitHub.

  2. Download the latest zip file (binary package).

  3. Start R.

  4. Set working directory to where the downloaded file is in.

  5. Run following commands.

if (!require("tidyverse")) install.packages("tidyverse")
if (!require("showtext")) install.packages("showtext")
if (!require("shiny")) install.packages("shiny")
if (!require("shinyWidgets")) install.packages("shinyWidgets")
if (!require("data.table")) install.packages("data.table")
if (!require("openxlsx")) install.packages("openxlsx")
if (!require("shiny.i18n")) install.packages("shiny.i18n")
if (!require("shinyalert")) install.packages("shinyalert")
install.packages("mipplot_0.3.0.zip", repos = NULL)

Or via devtools:

if (!require("devtools")) install.packages("devtools")
library(devtools)
devtools::install_github("UTokyo-mip/mipplot", dependencies = TRUE)

Mac OS

The latest release of mipplot can be installed from a binary package.

  1. Visit the release page on GitHub.

  2. Download the latest tar.gz file (source package).

  3. Start R.

  4. Set working directory to where the downloaded file is in.

  5. Run following commands.

if (!require("tidyverse")) install.packages("tidyverse")
if (!require("showtext")) install.packages("showtext")
if (!require("shiny")) install.packages("shiny")
if (!require("shinyWidgets")) install.packages("shinyWidgets")
if (!require("data.table")) install.packages("data.table")
if (!require("openxlsx")) install.packages("openxlsx")
if (!require("shiny.i18n")) install.packages("shiny.i18n")
if (!require("shinyalert")) install.packages("shinyalert")
install.packages("mipplot_0.3.0.tar.gz", repos = NULL)

Or via devtools:

if (!require("devtools")) install.packages("devtools")
library(devtools)
devtools::install_github("UTokyo-mip/mipplot", dependencies = TRUE)

Ubuntu (or Debian based distribution)

Run the following commands:

sudo apt install build-essential gfortran g++ libcurl4-openssl-dev libxml2-dev libssl-dev

This commands install the library which tidyverse library depends.

The latest release of mipplot can be installed from a tarball.

  1. Visit the release page on GitHub.

  2. Download the latest tar.gz file (source package).

  3. Start R.

  4. Set working directory to where the downloaded file is in.

  5. Run following commands.

if (!require("tidyverse")) install.packages("tidyverse")
if (!require("showtext")) install.packages("showtext")
if (!require("shiny")) install.packages("shiny")
if (!require("shinyWidgets")) install.packages("shinyWidgets")
if (!require("data.table")) install.packages("data.table")
if (!require("openxlsx")) install.packages("openxlsx")
if (!require("shiny.i18n")) install.packages("shiny.i18n")
if (!require("shinyalert")) install.packages("shinyalert")
install.packages("mipplot_0.3.0.tar.gz", repos = NULL)

Or via devtools:

if (!require("devtools")) install.packages("devtools")
library(devtools)
devtools::install_github("UTokyo-mip/mipplot", dependencies = TRUE)

Example

library(mipplot)
mipplot_area(ar5_db_sample_data, ar5_db_sample_rule_table,
  region = "World", scenario = "EMF27-450-FullTech")

Questions / Problems

In case of questions / problems please contact Diego Silva Herran [email protected].

Screenshots

License

The mipplot R package is open source licensed under the MIT license.

Thanks

  • SNEH DESHPANDE and KEITARO HANZAWA for implementing the mipplot_return_table function.
Metadata

Version

0.3.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows