Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/edgararuiz-zz/maya

Provides functions to convert between the Mayan calendar dates and Gregorian dates.
https://github.com/edgararuiz-zz/maya

calendar gregorian-converter mayan-calendar r

Last synced: 5 days ago
JSON representation

Provides functions to convert between the Mayan calendar dates and Gregorian dates.

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%"
)
```
# maya

[![CRAN status](https://www.r-pkg.org/badges/version/maya)](https://cran.r-project.org/package=maya)
[![Build Status](https://travis-ci.org/edgararuiz/maya.svg?branch=master)](https://travis-ci.org/edgararuiz/maya)
[![Coverage status](https://codecov.io/gh/edgararuiz/maya/branch/master/graph/badge.svg)](https://codecov.io/github/edgararuiz/maya?branch=master)

Provides functions to convert between the Mayan calendar dates and Gregorian dates.

## Installation

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

``` r
# install.packages("devtools")
devtools::install_github("edgararuiz/maya")
```

## Example

```{r}
library(maya)

mayan_to_gregorian("13.0.0.0.0")
```

```{r}
gregorian_to_mayan("August 11, 3114 BCE")
```