-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
84 lines (70 loc) · 3.1 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
output:
md_document:
variant: markdown_github
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, cache = FALSE)
```
```{r get_desc, include=FALSE}
url <- desc::desc_get_urls("DESCRIPTION")
purl <- httr::parse_url(url)
purl$path <- file.path(dirname(purl$path), basename(purl$path), "commits", "master", fsep = "/")
gh_url <- httr::build_url(purl)
```
# kayaExplorer
<!-- badges: start -->
[![CRAN Status Badge](https://www.r-pkg.org/badges/version-last-release/kayaExplorer)](https://cran.r-project.org/package=kayaExplorer)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![R-CMD-check](https://github.com/jonathan-g/kaya-explorer/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jonathan-g/kaya-explorer/actions/workflows/R-CMD-check.yaml)
[![pkgdown](https://github.com/jonathan-g/kaya-explorer/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/jonathan-g/kaya-explorer/actions/workflows/pkgdown.yaml)
<!-- badges: end -->
The `kayaExplorer` package is an R Shiny package to interactively explore the
Kaya identity for a number of countries and regions of the world.
## Installation
To install this package, you can install the latest release from CRAN:
```
install.packages('kayaExplorer')
```
To install this package you can use the `devtools` package in RStudio to run
```
library(devtools)
install_github("jonathan-g/kayaExplorer")
```
and then load the package with
```
library(kayaExplorer)
```
or use the `pacman` package to load `kayaExplorer`, installing it first if necessary:
```
library(pacman)
p_load_current_gh("jonathan-g/kayaExplorer")
```
Once you have loaded the package, you can launch it from RStudio with
```
launch_kaya_explorer()
```
## Credits
This interactive application was inspired by Roger Pielke’s book, [_The Climate
Fix_](https://books.google.com/books/about/The_Climate_Fix.html?id=WgcCoYsR41IC)
and the app closely follows the analysis presented in chapters 3--4 of that
book.
See also,
* R.A. Pielke, Jr., "[The British Climate Change Act: A Critical
Evaluation and Proposed Alternative
Approach](https://doi.org/10.1088/1748-9326/4/2/024010),"
_Environ. Res. Lett._ **4**, 024010 (2009).
doi [10.1088/1748-9326/4/2/024010](https://doi.org/10.1088/1748-9326/4/2/024010)
* R.A. Pielke, Jr., "[Mamizu Climate Policy: An Evaluation of Japanese Carbon
Emissions Reduction Targets](https://doi.org/10.1088/1748-9326/4/4/044001),"
_Environ. Res. Lett._ **4**, 044001 (2009).
doi [10.1088/1748-9326/4/4/044001](https://doi.org/10.1088/1748-9326/4/4/044001)
* R.A. Pielke, Jr., "[An Evaluation of the Targets and Timetables of Proposed
Australian Emissions Reduction
policies](https://doi.org/10.1016/j.envsci.2010.10.008),"
_Environ. Sci. & Pol._ **14**, 20–27 (2011).
doi [10.1016/j.envsci.2010.10.008](https://doi.org/10.1016/j.envsci.2010.10.008)
## Code of conduct
Please note that this project is released with a [Contributor Code of
Conduct](https://jonathan-g.github.io/kaya-explorer/CODE_OF_CONDUCT.html). By
participating in this project you agree to abide by its terms.