Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vlucet/carbon


https://github.com/vlucet/carbon

co2-emissions r-package workshop-materials

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

## carbon

[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)
[![Codecov test coverage](https://codecov.io/gh/VLucet/carbon/branch/main/graph/badge.svg)](https://codecov.io/gh/VLucet/carbon?branch=main)
[![R-CMD-check](https://github.com/VLucet/carbon/workflows/R-CMD-check/badge.svg)](https://github.com/VLucet/carbon/actions)

The goal of carbon is to serve as an example package for the [CSEE 2021 workshop on R package development for research](https://github.com/VLucet/R_pkg_dev_for_research_CSEE_2021).

### Installation

You can install the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("VLucet/carbon")
```

### Example

This is a basic example:

```{r example}
library(carbon)
ppm_from_date("1996-10-29")
```