knitr::opts_chunk$set(echo = FALSE, cache = FALSE)
url <- desc::desc_get_urls("DESCRIPTION") purl <- httr::parse_url(url) tpurl <- purl purl$path <- file.path(dirname(purl$path), basename(purl$path), "commits", "master", fsep = "/") tpurl$hostname <- "travis-ci.org" tpurl$path <- file.path(dirname(tpurl$path), paste0(basename(tpurl$path), ".svg"), fsep = "/") tpurl$query <- "branch=master" gh_url <- httr::build_url(purl) travis_url <- httr::build_url(tpurl)
The kayatool
package is an R Shiny package to interactively explore the
Kaya identity for a number of countries and regions of the world.
To install this package you can use the devtools
package in RStudio to run
library(devtools) install_github("jonathan-g/kayatool")
and then load the package with
library(kayatool)
or use the pacman
package to load kayatool
, installing it first if necessary:
library(pacman) p_load_current_gh("jonathan-g/kayatool")
Once you have loaded the package, you can launch it from RStudio with
launch_kaya_tool()
This tool was inspired by Roger Pielke’s book, The Climate Fix and the tool closely follows the analysis presented in chapters 3--4 of that book.
See also,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.